Add some TODOs
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user