Task Scheduler
Cooperative multitasking for Arduino, ESPx, STM32, nRF and more
Cooperative multitasking for Arduino, ESPx, STM32 and other microcontrollers. A lightweight implementation of cooperative multitasking (task scheduling). An easier alternative to preemptive programming and frameworks like FreeRTOS. You mostly do not need to worry about pitfalls of concurrent processing (races, deadlocks, livelocks, resource sharing, etc.). The fact of cooperative processing takes care of such issues by design.