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

ArduinoLowPower Sleep is not working with Scheduler

tatulea opened this issue · comments

Hi,

I have the main loop and another one with startLoop. From the main one, I am calling LowPower.sleep(), but it looks like both of the loops are still working and nothing happend.

@tatulea What is the problem with the Scheduler? Did you forget to add a delay() or yield()?

I added yield, but is not working. Without having the second loop, it is working.

@tatulea Please explain "not working". What is your configuration? Hardware/Software etc. Please add as much info as possible and try to explain what is the problem with the Scheduler. As you might understand I cannot help you with the ArduinoLowPower library, and hardware that is not supported or tested. Sorry but your issue description is much to vague.

Ref. https://github.com/arduino-libraries/ArduinoLowPower

@tatulea Might as well add that the Scheduler is not tested with other libraries e.g. Arduino Low Power Library. And therefore must be considered not supported.