-->
Page 1 of 1

Long deep sleep

PostPosted: Mon Mar 07, 2016 6:30 am
by Kristofer Klein
Hi

The deep sleep function accepts maximum sleep time for 4294 seconds. Does anyone know how to extend that time to be able to sleep for like 24h?

Re: Long deep sleep

PostPosted: Mon Mar 07, 2016 1:39 pm
by martinayotte
You need to create and maintain a counter yourself, either in Flash or in RTC User Memory, and still wakeup every every 30mins (30mins to have a round number) and according to your counter, go again in deepSleep() without doing the real task except when your counter has been reached.