Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
BassyPatel Darshil
Published © CC BY

Getting Started with NodeMCU (ESP8266) on Arduino IDE

A tutorial by Arduino User Group Gujarat for getting started with the NodeMCU (ESP8266) on Arduino IDE.

IntermediateProtip18,087
Getting Started with NodeMCU (ESP8266) on Arduino IDE

Things used in this project

Hardware components

NodeMCU ESP8266 Breakout Board
NodeMCU ESP8266 Breakout Board
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

Blink Inbuilt LED of NODEMCU

C/C++
Example code for Blinking Inbuilt LED of NODEMCU
void setup() {   
  // initialize inbuilt LED pin as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on by making the pin 13 HIGH
  delay(500);              // wait for a 0.5 second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the pin 13 LOW
  delay(500);              // wait for a 0.5 second
}

Credits

Bassy
0 projects • 2 followers
Patel Darshil
29 projects • 165 followers
I am an Electronics Hobbyist pursuing my BE in Electronics and communication

Comments