Additional _timers for ROBOTC. More...
|bool||TMRisExpired (int timerIdx)|
|void||TMRreset (int timerIdx)|
|void||TMRreset (int timerIdx, long duration)|
|void||TMRsetup (int timerIdx, long duration)|
|void||TMRexpire (int timerIdx)|
Additional _timers for ROBOTC.
timer.h provides additional timers for ROBOTC. Please note that there is no roll-over checking done at all. That means that if the program runs for more than around 596 hours, it will roll over and weird stuff will happen.
The default number of timers is 10, but this can be changed by defining MAX_TIMERS before this driver is included.
License: You may use this code as you wish, provided you give credit where its due. THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.
Definition in file timer.h.