Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a limitation for the sleeping mode? #11

Open
pierrot10 opened this issue Dec 10, 2018 · 1 comment
Open

Is there a limitation for the sleeping mode? #11

pierrot10 opened this issue Dec 10, 2018 · 1 comment

Comments

@pierrot10
Copy link

Hello
I am wondering if AdruinoLowPower can put in sleep mode my board during 1 hour?
If not what's the limitation?

Actually, I make a loop which make sleep my board 5sec, wake up to quickly flash a led, sleep for 5 sec alternatively during one hour.

I would like to increase to 10 sec-

Does the ArduinoLowPower library work with Adafruit MO AMD21 with the LoRa module as well?

Thank

@facchinm
Copy link
Contributor

Hi @pierrot10 ,
there should be no such limitation. sleep(uint32_t milliseconds) internally calls rtc.setAlarmEpoch , so unless this one is bugged it should allow to sleep for almost 49 days (UINT32_MAX milliseconds).
If there's a problematic sketch, can you share it? The library works with all SAMD21 microcontroller based boards so it should be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants