esp8266 / esp8266/ESPWebServer

WebServer and DeepSleep

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
191
Forks
81
PR merge metrics
No merged PRs in 30d

Description

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
}`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.