tinkerspy / Automaton

Reactive State Machine Framework for Arduino

Home Page:https://github.com/tinkerspy/Automaton/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

jamesarm97 opened this issue · comments

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.