In this lesson, you will learn how to program your Espcopter to make the Esp8266's built-in LED blink.


 By Metehan Emlik
 int bluePin = 10;

// the setup function runs once when you press reset or power the board
void setup() {
 // initialize digital pin 13 as an output.
 pinMode(bluePin, OUTPUT);


// the loop function runs over and over again forever
void loop() {
 digitalWrite(bluePin, HIGH); // turn the LED on (HIGH is the voltage level)
 delay(1000); // wait for a second
 digitalWrite(bluePin, LOW); // turn the LED off by making the voltage LOW
 delay(1000); // wait for a second