MTF
Simple multitasking for microPython Raspberry Pi Pico projects
...Designed where polling is needed, projects can be broken down into discrete components (tasks) which can run together. MTF provides scheduling, timeouts and a simplified signalling system for tasks to communicate with each other. Version 2.1 uses a modified run-loop which improves timing accuracy for short periods.