Sunday, February 3, 2019

Arduino Led Sequential Control Complete Guide

This post is about the Arduino led sequential control. This video is about the multiple leds blinking project with coding. All the coding and connection method is complete cover in this post with video tutorial.

Arduino Multiple Led Sequential control, Blink led one by one

Arduino Led Sequential Control


The project code for blinking led one by one using arduino. note that for output and blinking led. The arduino digital pins are used. In the below coding the digital pins 8, 9, 10, 11 are used for out put or to blink led. The led will one for 1 second and all led will off for half- second. You can change the delay time according your need.

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);
}
Just copy and past. And upload into your arduino. Watch the below video tutorial for complete understanding.

No comments:

Post a Comment

Electrical Urdu & Hindi Tutorials