/* Blink Turns one LED on for one tenth of the second, then off for one tenth second, Turns second LED on for one tenth of the second, then off the second one for one tenth secondrepeatedly. Written on 17 March 2022 by Kishore Gaikwad */ const int led1=8; const int led2=7; const int button=3; // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin LED_BUILTIN as an output. pinMode(led1, OUTPUT); pinMode(led2, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(led1, HIGH); // turn the LED on (HIGH is the voltage level) delay(100); // wait for a second digitalWrite(led1, LOW); // turn the LED off by making the voltage LOW delay(100); // wait for a second digitalWrite(led2, HIGH); // turn the LED on (HIGH is the voltage level) delay(100); // wait for a second digitalWrite(led2, LOW); // turn the LED off by making the voltage LOW delay(100); // wait for a second }