ESP01 STM32 Nucleo statisch Webserver
Dependencies: LCD_i2c_GSOE ESP8266WebserverGSOE
Diff: main.cpp
- Revision:
- 4:d19ae06fc0bb
- Parent:
- 3:8dba70d37b7d
- Child:
- 5:b4ae03006c7d
diff -r 8dba70d37b7d -r d19ae06fc0bb main.cpp --- a/main.cpp Tue Jun 22 07:49:04 2021 +0000 +++ b/main.cpp Tue Jun 22 09:58:43 2021 +0000 @@ -41,7 +41,7 @@ webpage+="function z(){location.assign(\"http://"; webpage+=myWebserver.gibIP();//"192.168.1.117"; webpage+="\");}"; - webpage+="function sT(){x=setInterval(z,1000);}"; + webpage+="function sT(){x=setInterval(z,5000);}"; webpage+="function spT(){clearInterval(x);}"; webpage+="onload=sT();"; webpage+="</script>\n";