diff --git a/button.ino b/button.ino index a29d8c5..f5a68cf 100644 --- a/button.ino +++ b/button.ino @@ -12,12 +12,15 @@ void initButton() { void buttonISRstate() { if ((millis() - lastButtonPress) > 100) { if (countdown < 0) + // TODO: enable metronome timer countdown = 0; else if (countdown == 0) + // TODO: restart metronome timer to align countdown countdown = COUNTDOWN; else { countdown = -1; digitalWrite(BUTTON_LED_PIN, LOW); + // TODO: disable metronome timer } } }