you could do a check for
millisecs() > timestarted + timefinished
instead of doing a counter.
when you set the alarm you make TimeStarted = Millisecs()
should be fairly accurate..
millisecs() > timestarted + timefinished
instead of doing a counter.
when you set the alarm you make TimeStarted = Millisecs()
should be fairly accurate..