Arduino tiny and cross-device compatible timer library.Timers used by each microcontroller:
You have public TimerLib variable with following methods:
- TimerLib.setInterval_us(callback_function, microseconds);* : callback_function will be called each microseconds.
- TimerLib.setInterval_s(callback_function, seconds);* : callback_function will be called each seconds.
- TimerLib.setTimeout_us(callback_function, microseconds);* : callback_function will be called once when microseconds have passed.
- TimerLib.setTimeout_s(callback_function, seconds);* : callback_function will be called once when seconds have passed.
- TimerLib.clearTimer();* : will clear any timed function if exists.
- Copyright
- Naguissa
- Author
- Naguissa
- See also
- https://github.com/Naguissa/uTimerLib
-
https://www.foroelectro.net/librerias-arduino-ide-f29/utimerlib-libreria-arduino-para-eventos-temporizad-t191.html
-
naguissa@foroelectro.net
- Version
- 1.4.0