Re: Differentiate between deep.sleep and power on reset
Posted: Sun Feb 28, 2016 3:29 am
I have just installed fresh and stable 2.1.0, compiled and uploaded my sketch and everything now works correctly
Thank you for your help
Reinhard
Code: Select all
Start...
ResetInfo.reason = 6 <-------------------- this was power on reset
going to sleep now...
....
Start...
ResetInfo.reason = 5 <-------------------- after deep sleep
going to sleep now...
Thank you for your help
Reinhard