Tiny and cross-device compatible timer-driven timed function calls library.
Supports Arduino AVR, SAM, STM32, ESP8266, ESP32 and SAMD21 microcontrollers.
Currently suported architectures:
Depending on wich architecture this library uses one or another device timer. Take in mind this because can caause conflicts with other libraries:
Note: On ESP8266 this library uses "ticker" to manage timer, so it's maximum resolution is miliseconds. On "_us" functions times will be rounded to miliseconds.
This library defines a global variable when included called "TimerLib".
You have these methods:
It only manages one function at a time, if you call any setXXX method it will cancel any running timed function and process new one.
An attached functions broker could be implemented, but then this would not be (micro)TimerLib. Maybe in other project.....
You can get it from Arduino libraries directly, searching by uTimerLib.
For manual installation:
You can find all documentation and extras in this repository: https://github.com/Naguissa/uTimerLib_doc_and_extras
You can read documentation online here: https://naguissa.github.io/uTimerLib_doc_and_extras/
Included on example folder, available on Arduino IDE.
Look in extras folder for datasheets and extra info
Any code contribution, report or comment are always welcome. Don't hesitate to use GitHub for that.
Thanks for your support.
Contributors hall of fame: https://www.foroelectro.net/hall-of-fame-f32/contributors-contribuyentes-t271.html