-->
Page 1 of 1

How to determine type of wake up TIME/RST PIN

PostPosted: Tue Jan 23, 2018 5:32 pm
by tuxmartin
Hi, I'm trying to build a simple "security" switch using esp8266 arduino lang.

My device will work on battery so I need to use deep sleep.
But if I wake up the cpu when switch were pushed I do not know about functionallity - if wifi has bad wifi signal or empty battery - i dont't know about it.

On the other side, if I use deep sleep for 1h 11m is still possible to wake cpu by push button?

And is it possible to get type of wake up? I mean time (1h11m) or reset pin by switch?