Arduino timer library.
This library has the following functions:
- Tic Tac - periodically tick the timer at a given duration.
- TicTac and toggle - it is like a tictac but it will toggle the out from false to on and vice versa.
- Up counter
- Down counter
- Time ON delay
- Time Off delay
See link below:
For those working with periodic action that is relying on delay to execute such thing and we know that delay is a process killer once you are making a fully integrated firmware with different services such as webserver, mqtt client and etc.
I created this timer library to fix this issue. This library will run smoothly without using the delay functions. Although in milliseconds point of view it is not multitasking but for human observation somehow we feel like we are doing a multitasking with in our small arduino mcu. This timer library has a basic function on what we need on a timer such as :
- Tic and tac
- Tick and toggle the output.
- Up counter.
- Down counter.
- Time ON/OFF delay.
It can be used to blink the led easily and the application will not be limited there.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.