Sketch won't run stand alone only works right after upload

@garlydog when you post serial monitor output, please copy and paste the text and post it between triple backticks, rather than posting screeenshots.

These pins a a bad choice which an ESP8266. What happens if you disconnect the ultrasonic sensor and try again?

If you want to understand more about ESP8266 pins you should read this…

Pete.

1 Like