You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
...
}
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.
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
Basic Infos
Hardware
Hardware: NodeMCU ESP8266 MOD
Description
Settings in IDE
Sketch
wifi-ESP8266-blink-2leds-socket.zip
The text was updated successfully, but these errors were encountered: