Add some TODOs

This commit is contained in:
cryptogopher
2022-10-10 15:40:01 +02:00
parent 1e206b248c
commit d6f9bb6634

View File

@@ -12,12 +12,15 @@ void initButton() {
void buttonISRstate() { void buttonISRstate() {
if ((millis() - lastButtonPress) > 100) { if ((millis() - lastButtonPress) > 100) {
if (countdown < 0) if (countdown < 0)
// TODO: enable metronome timer
countdown = 0; countdown = 0;
else if (countdown == 0) else if (countdown == 0)
// TODO: restart metronome timer to align countdown
countdown = COUNTDOWN; countdown = COUNTDOWN;
else { else {
countdown = -1; countdown = -1;
digitalWrite(BUTTON_LED_PIN, LOW); digitalWrite(BUTTON_LED_PIN, LOW);
// TODO: disable metronome timer
} }
} }
} }