-->
Page 4 of 6

Re: Deepsleep and Watchodog timer example?

PostPosted: Sat Jul 21, 2018 4:11 pm
by panoss
btidey wrote:Try looking under C;\users\yourusername\appdata\

Then under either Local or Roaming see if there is a folder called something like Arduino15 and work your way down from there.

I found it right where you suggested!!!
The windows explorer would not find it, I had to search for it by my self!
Anyway, the related code in my Esp.h I suppose is:
Code: Select allvoid deepSleep(uint64_t time_us, RFMode mode = RF_DEFAULT);

Re: Deepsleep and Watchodog timer example?

PostPosted: Sun Jul 22, 2018 2:07 am
by panoss
I declared it as uint64_t but does not work! :(
Code: Select alluint64_t  sleepTime = 60*60*1000000; // sleep for 60 min


The ESP does not wake up.

Re: Deepsleep and Watchodog timer example?

PostPosted: Sun Jul 22, 2018 2:35 am
by schufti
then this is most probably an esp 8266 arduino core issue and should be reported on github ...

Re: Deepsleep and Watchodog timer example?

PostPosted: Sun Jul 22, 2018 2:41 am
by panoss
I 'll compromise with 35 minutes max sleep time, I can 't do something else.