Timing

CoopTask

Portable C++ library for cooperative multitasking like Arduino Scheduler on ESP8266/ESP32, AVR, Linux, Windows

Run multiple concurrent setup()/loop() tasks in Arduino sketches. Use the normal global delay() function, use yield() to give up the CPU to other tasks and the main loop().

Go to repository

This library is compatible with all architectures so you should be able to use it on all the Arduino boards.