Arduino ESP8266基于异步http网页定时器
定时器可以使用网页上的滑块进行调整。当您单击“开”按钮时,ESP会在滑块中定义的秒数中将输出状态设置为“高”。这对于控制需要高信号以预定秒数启动的设备特别有用。
- 所需库:
ESPAsyncWebServer
:https://hub.fastgit.org/me-no-dev/ESPAsyncWebServer
实例代码
#include <ESP8266WiFi.h>
#include