-->
Page 3 of 3

Re: ESP8266WebServer.h and variables in string

PostPosted: Sun Sep 24, 2017 8:26 am
by martinayotte
That is because you define your "led3" as GPIO6.
GPIO6 is the SPI_CLK and when you turn it into OUTPUT, the Flash isn't anymore accessible, so the ESP wait and wait for the code, and then trigger the watchdog.
So, you can not use GPIO6 for a plain output ...

Re: ESP8266WebServer.h and variables in string

PostPosted: Sun Sep 24, 2017 6:08 pm
by yonubear
thanks i will play with the gpios some more as i thought i had them all worted out when i set those ports. now i just have to figure out why it won't show the pin status in the html it stays at 0 even if the port is on