These are chat archives for SmingHub/Sming

19th
Oct 2018
cometurrata
@cometurrata
Oct 19 2018 12:18
Thanks for your answers, I solved my issue. I was calling deepSleep(0) in a loop like that : loopTimer.initializeMs(1, runLoop).start(); but it seems like it does not work to call deepSleep(0) repeatedly from a sming timer.
I simply used a flag to aknowledge that shutting the esp down was already in progress. (allowing not to call deepSleep(0) twice)
I connect rst to 3.3 because I want to awake the ESP manually (putting rst to gnd then back to 3.3) . So now it works, thanks :)