Lesson 1. Blink

/*

Blink ESPcopter

By Metehan Emlik

*/

int bluePin = 16; // Düz
int redPin = 2; //Ters
int greenPin = 0; //Ters

int bekleme = 500;
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(bluePin, OUTPUT);
pinMode(redPin, OUTPUT);
pinMode(greenPin, 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(bekleme); // wait for a second
digitalWrite(bluePin, LOW); // turn the LED off by making the voltage LOW

delay(bekleme); // wait for a second
}