MULTIPAL LEDS BLINKING CODE

 


           MULTIPAL LEDS BLINKING CODE


void setup() {
  // put your setup code here, to run once:
pinMode(8, OUTPUT);
pinMode (9, OUTPUT);
pinMode (10, OUTPUT);
pinMode (11, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
digitalWrite (8, HIGH);
delay (1000);
digitalWrite (8, LOW);
delay (500);
digitalWrite (9, HIGH);
delay (1000);
digitalWrite (9, LOW);
delay (500);
digitalWrite (10, HIGH);
delay (1000);
digitalWrite (10, LOW);
delay (500);
digitalWrite (11, HIGH);
delay (1000);
digitalWrite (11, LOW);
delay (500);

}


Making video: https://youtu.be/RUvu5EKOq_s









   

Post a Comment

Previous Post Next Post

Contact Form