SEQUENCE OF LED
In this tutorial we will teach you how to Sequence Led with Arduino UNO / Nano.
COMPONENTS USED :
SR NO | COMPONENT NAME | QUANTITY |
1 | Arduino Board(Uno or Nano) | 1 |
2 | LED’S (5mm) | 3 |
3 | BreadBoard | 1 |
4 | Resistor (220 ohm) | 3 |
5 | Jumper Cable (male to male) | 1 set |
Schematic Diagram :
Source Code:
void setup() {
// put your setup code here, to run once:
pinMode(5,OUTPUT);
pinMode(7,OUTPUT);
pinMode(13,OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(7,HIGH);
delay(1000);
digitalWrite(13,HIGH);
delay(1000);
digitalWrite(5,HIGH);
delay(1000);
digitalWrite(5,LOW);
delay(1000);
digitalWrite(13,LOW);
delay(1000);
digitalWrite(7,LOW);
delay(1000);
}
Video:
Search
Posts
Information
My Account
About Us
Maverick den wants to build the bridge between the learning and doing.
We aspire to provide a R&D environment to kindle the innovation within them.