/* Blink Turns an LED on for one second, then off for one second, repeatedly. This example code is in the public domain. https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink */ // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin LED_BUILTIN as an output. pinMode(D0, OUTPUT); pinMode(D7, OUTPUT); pinMode(D6, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(D0, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(D0, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second digitalWrite(D7, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(D7, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second digitalWrite(D6, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(D6, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }