Skip to content

NodeMCU ESP8266 cannot start #3039

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tranquang7979 opened this issue Mar 13, 2017 · 2 comments
Closed

NodeMCU ESP8266 cannot start #3039

tranquang7979 opened this issue Mar 13, 2017 · 2 comments

Comments

@tranquang7979
Copy link

tranquang7979 commented Mar 13, 2017

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

@tomamarsanaa
Copy link

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
...
}

@devyte
Copy link
Collaborator

devyte commented Sep 7, 2017

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 devyte closed this as completed Sep 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants