Pause multiple timers in series with 1 button
hi all,
i've been trying build process timer/counter 3 different counters , lights run 1 after next. have 1602 lcd screen hooked display progress in minutes. managed write program runs using if() , specific time frames using millis() counter calculate since last reset; shows correct counter value on screen.
but need add pause feature pause @ given time , resume , i'm stumped. far research tells me need use momentary pushbutton modify button state value in turn suspends or resumes counter cycle. question have timer take delay between pause/resume button presses account? tips? i'm beginner, reading forums has helped me ton couldn't find info on topic. lot in advance guys.
i've been trying build process timer/counter 3 different counters , lights run 1 after next. have 1602 lcd screen hooked display progress in minutes. managed write program runs using if() , specific time frames using millis() counter calculate since last reset; shows correct counter value on screen.
but need add pause feature pause @ given time , resume , i'm stumped. far research tells me need use momentary pushbutton modify button state value in turn suspends or resumes counter cycle. question have timer take delay between pause/resume button presses account? tips? i'm beginner, reading forums has helped me ton couldn't find info on topic. lot in advance guys.
quote
which run 1 after next.so, timer 2 run after timer 3?
quote
but need add pause feature pause @ given time , resume , i'm stumped.so i. don't understand "it" is, , how "it" should resume, or code looks like.
quote
any tips?read stickies @ top of forum - ones supposed read before posted here.
Arduino Forum > Using Arduino > Project Guidance > Pause multiple timers in series with 1 button
arduino
Comments
Post a Comment