Stop and resume timer
Closed this issue · 1 comments
neophob commented
Hey, thanks for your library!
Would it possible to add a stop/resume function for the library (like in the TimerOne library). I saw that there are disable_PIT and enable_PIT functions in the library (but they are declared private).
thanks again
cheers
michu
loglow commented
Hi michu, you're welcome!
The IntervalTimer library's interface has been intentionally stripped-down to be as simple as possible for eventual inclusion in Teensyduino. For the time-being, you may wish to use PITimer instead since it includes start, stop, and reset functions.
Take care,
Dan