21 void task1() { Serial.println(
"Task 1"); }
23 void task2() { Serial.println(
"Task 2"); }
A scheduler for running tasks on the controller, minimum time between events is 1 second based off th...
void begin(long int timer_sync_interval_ms=600000)
initialise timer
void run()
This needs to be run in the loop function continuously. Best practice is to have a loop function that...
void create_task(void(*task_func)(), unsigned long interval_sec)
Create a task.