If you have it permanently grounded then it will always be in upload mode and never run the real code on the ESP8266.
You probably want to put a push button switch between GPIO0 and 0V so you can choose when to upload new firmware or let it run normally.
btidey wrote:GPIO0 is sampled during start up after reset or power up to determine the start up mode of the ESP8266 (0 = serial upload new firmware, 1 = normal run).
If you have it permanently grounded then it will always be in upload mode and never run the real code on the ESP8266.
You probably want to put a push button switch between GPIO0 and 0V so you can choose when to upload new firmware or let it run normally.
Okay, so I set up a button for GPIO0, but the code isn't even able to upload at all, it keeps giving me the error. My understanding was that it needed to be grounded when I'm uploading code, but it gives the same error when the button is pushed, and when GPIO0 isn't connected at all.