To program NodeMCU in Arduino IDE, we have to install esp8266 board (ESP8266 core for Arduino) to Arduino IDE.
Add Additional Board Manager URL for ESP8266 board:
> File > Preference

Add “http://arduino.esp8266.com/stable/package_esp8266com_index.json” in Additional Board Manager URLs.

Add ESP8266 board to Arduino IDE:
– Open Boards Manager in Arduino IDE
– Search “esp8266” or “NodeMCU”, you will find “esp8266 by ESP8266 Community”. Install it.
That’s it
1 comment