Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Stevenelson
#17507 I have finally come up with a process that works consistently to upload code from the arduino ide to my esp. What works for me is to have an on/off switch between the ftdi and my esp. Before I upload code via the ide, I keep the ftdi plugged into my laptop and I flip the power switch off then on on the esp board.

Then I upload the code and it writes fine. If I don't do that the code compiles and I get the espcomm_open failed.

Anyway... that much works.

Once it's uploaded I can open the serial monitor and debug my code.

The problem is that I can ONLY run my esp code if I upload it. If I just restart the ESP, without uploading code, I see some garbage text in the serial monitor, but the setup/loop code never runs.

Has anyone experienced this?