tinkerspy / Automaton

Reactive State Machine Framework for Arduino
https://github.com/tinkerspy/Automaton/wiki
MIT License
374 stars 63 forks source link

Timer doesn't seem to reset on a call to .Stop then .Start #79

Open jamesarm97 opened 4 years ago

jamesarm97 commented 4 years ago

I have a timer .begin(1000).repeats(30).onTimer(....) and it is logging the repeats left after I call .Start(). I am stopping the timer when a certain event happens with a .Stop() then we get another event that turns it on again (wanting to start from count 0) with a .Start() but the logging shows the timer picks up where it left off at as far as the repeats and repeats left shown.