I've stared/googled this thing for hours. Finally I uploaded a totally different sketch which the loop only did this. Void Loop() { Serial.println("Hello World this many times: " + String(i++); delay(5000);}
The COM port happily prints out the Hello World message and counter forever BUT the client still monitors the state of the buttons and sends it to the server with no code to that effect in the sketch. So it appears that I've got a virtual machine going along side the latest uploaded sketch. My original client had a SimpleTimer (ala the SimpleTimer.h library) that called the polling routine and the client to server message sending code. Is it possible that this code is still residual in flash? I pressed the rst and flash buttons on the board with no joy. I also found in tools something that says "Erase Flash: Sketch and WiFi Settings" I set that and uploaded my Hello World Sketch but nothing changed. I didn't try the Erase All Flash content option as I didn't know if that would zorch any bootstrap that might be needed. Also for the same reason I didn't click on the "Burn Bootloader" selection. (Although maybe that's what I need to do. I really have no idea.) Hoping someone here can tell me how to clear my ESP-12E to a factory fresh state. Thx.