rocketscream / Low-Power

Low Power Library for Arduino
www.rocketscream.com
1.27k stars 346 forks source link

Extend sleep beyond 8s #102

Closed lbrutti closed 4 years ago

lbrutti commented 4 years ago

Hello, is there a way to extend sleep period beyond 8s? In my project I need to collect one sample each 15 minutes.

I looked at the code and saw that sleep periods are defined as enum, I couldn't find any numerical value, am I missing something?

thanks, Lorenzo

rocketscream commented 4 years ago

This is as simple as using a for loop and count multiple until it reaches the period you needed.