Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

NodeMCU ESP8266 cannot start

Open tranquang7979 opened this issue 9 years ago • 2 comments

Please help! I'm building a small project that user can control 2 leds through the wifi. After I uploaded program to NodeMCU ESP8266. I got these messages

image


Basic Infos

Hardware

Hardware: NodeMCU ESP8266 MOD

Description

image

Settings in IDE

image

Sketch

wifi-ESP8266-blink-2leds-socket.zip

tranquang7979 avatar Mar 13 '17 13:03 tranquang7979

Hi, I had same problem and I have spent many weeks to try to solve this issue. At last, I found out the reason. Try to set 16th pin mode in the 'setup' function as below. Doing this, mine is resolved.

void setup() { pinMode(16, OUTPUT); // set mode for build in LED which is 16th pin ... }

tomamarsanaa avatar Mar 19 '17 06:03 tomamarsanaa

GPIOs 6 & 7 are used internally, and shouldn't be used for other purposes. Don't confuse GPIO6 & 7 with D6 & 7. Please research more about the nodemcu and pinouts. Closing as user error.

devyte avatar Sep 07 '17 18:09 devyte