ESPWebServer icon indicating copy to clipboard operation
ESPWebServer copied to clipboard

WebServer and DeepSleep

Open piga opened this issue 5 years ago • 0 comments

I want to have WebServer for maybe 10 seconds or until I have clients sending requests and than I want DeepSleep for maybe 20 seconds. I have tried this but it's not working. I am sending only loop function. void loop(void){ server.handleClient(); ESP.deepSleep(20e6); // 20e6 is 20 microseconds }

piga avatar Mar 04 '20 00:03 piga