Other
Cooperative Multitasking lets multiple functions run at (nearly) the same time or independently from each other.
The CooperativeMultitasking class maintains a list of tasks to run. Use now(...) to put a task to the beginning of the list. Use after(...) to delay a task. Use ifThen(...) to make a task wait for a condition to become true. See the examples for details and other possibilities for controlling tasks. Requires no other dependencies.
Maintainer: Andreas Motzek
This library is compatible with the samd architecture so you should be able to use it on the following Arduino boards:
Note: while the library is supposed to compile correctly on these architectures, it might require specific hardware features that may be available only on some boards.
To use this library, open the Library Manager in the Arduino IDE and install it from there.