Timing
wiring-timer
Dieter Niklaus <dieter.niklaus@gmx.net>
Universal Timer with 1 millisecond resolution, based on system uptime (i.e. Arduino: millis() function or STM32: HAL_GetTick() function), supporting OOP principles.
Configurable to be either recurring or non-recurring, timer interval/timeout time configurable, attaches automatically in the background to a Timer Context which periodically updates all registered timers' states (to be driven by the main loop) and performs the timer expire evaluation for each registered timer, handles unsigned long int overflows correctly.
Go to repositoryThis library is compatible with all architectures so you should be able to use it on all the Arduino boards.