The Task Scheduler Library simulates multi-tasking, enabling your sketch to handle multiple asynchronous tasks simultaneously. For example, you can easily blink two LEDs with different durations and periods at the same time.
Download here
https://github.com/Nospampls/SchedTask
Or search for SchedTask in the library manager
An Arduino is an inexpensive single-threaded microprocessor popular among students and hobbyists. The Task Scheduler Library enhances its capabilities by simulating multi-tasking without the use of interrupts. Only basic C++ programming skills are needed to take advantage of the library. It is available on GitHub as the SchedTask Library.
This series of videos provides all you need to know to get started. It presents several example sketches that illustrate various ways to use the library. It deliberately starts out very basic in order to enable even beginner programmers to use it.
If you would like to show your appreciation for this tutorial you can securely make a small donation here:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A2J54W4JEHZ6C&source=url
18 Comments