mikaelpatel / Arduino-Scheduler

Portable Cooperative Multi-tasking Scheduler for Arduino

Home Page:https://mikaelpatel.github.io/Arduino-Scheduler/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot run a second task

Aucott opened this issue · comments

commented

This library seems ideal and has all the properties I require but I cannot seem to get a second task to run consistency.
Whatever task is declared first runs and then the "loop()" and then jumps back to the first task and only occasionally executes the second. I read the previous issue with the missing yields() in the loop() and tasks but this is not the case here.
It is very possible I am doing something wrong but at the moment cannot figure out what.

Please at least add the essential of your code together with platform version hardware and software.