Access to realtime clock?
Posted: Thu Apr 21, 2016 9:40 pm
Hi,
Newbie to the scene here... have a Sparkfun Thing and having fun learning. I'm using ESP.deepSleep() to save power, and I guess that means it's like rebooting every time the chip comes out of sleep mode. So this is perhaps a 2-part question, but:
1) is it possible to save information before going to sleep that will be there when we wake up again? Seems like: no, unless you save it to flash...
2) What I'm really interested in is elapsed time. So, is it possible to read the realtime clock from the Arduino environment?
Thanks,
Charles
Newbie to the scene here... have a Sparkfun Thing and having fun learning. I'm using ESP.deepSleep() to save power, and I guess that means it's like rebooting every time the chip comes out of sleep mode. So this is perhaps a 2-part question, but:
1) is it possible to save information before going to sleep that will be there when we wake up again? Seems like: no, unless you save it to flash...
2) What I'm really interested in is elapsed time. So, is it possible to read the realtime clock from the Arduino environment?
Thanks,
Charles