Any way to diff power startup with recovering from deep sleep.
Posted: Fri Dec 13, 2019 5:10 am
Hi all !
I'd like to add some special operations to setup() functions but I don't want to invoke them when the device is recovered from a deep sleep. Since deep sleep turns off all the device except the RTC, the program will be totally restarted after deep sleep. Is there any indicator (variables, system call?) to identify the exact status?
Thanks!
I'd like to add some special operations to setup() functions but I don't want to invoke them when the device is recovered from a deep sleep. Since deep sleep turns off all the device except the RTC, the program will be totally restarted after deep sleep. Is there any indicator (variables, system call?) to identify the exact status?
Thanks!