|
roo_scheduler
API Documentation for roo_scheduler
|
Arduino-compliant microcontroller library for scheduling delayed and/or repetitive tasks. Works on boards that support C++ standard library (e.g. Espressif ESP32 family, and Raspberry Pi Pico SMP). Specifically, it requires the following standard headers: <memory>, <queue>, and <functional>.
Uses std::priority_queue for storage, and therefore:
The tasks can be defined as function pointers, but also as inline lambdas, or generally as arbitrary callables, so it is convenient and idiomatic to make them stateful.