class MilliTimer
The MilliTimer class can be used to create objects which keep track of elapsed time (up to a maximum of 65,000 millseconds). They can be used as one-shot and as periodic timers.
#include <JeeLib.h>
class MilliTimer;
Public API
- MilliTimer poll() - poll until the timer fires
- MilliTimer remaining() - return the number of milliseconds before the timer will fire
- MilliTimer idle() - returns true if the timer is not armed
- MilliTimer set() - set the one-shot timeout value