The Arduino LED blinking control project is the easiest project for beginners learning Arduino programming. So how to control LED lights with Arduino?
In this post, we will learn how to control the blinking of LED lights, and we will also learn how to program an Arduino board to do this.
Electronic components that we need:
- Arduino UNO
- Breadboard
- 3 LED lights
- 3 resistor 220 Ohm
- Electrical wires
Circuit diagram:

Programming Code:
int LED1 = 10;
int LED2 = 11;
int LED3 = 12;
// by www.andprof.com
void setup() {
// put your setup code here, to run once:
pinMode(LED1,OUTPUT);
pinMode(LED2,OUTPUT);
pinMode(LED3,OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(LED1,HIGH);
delay(100);
digitalWrite(LED2,HIGH);
delay(100);
digitalWrite(LED3,HIGH);
delay(100);
digitalWrite(LED1,LOW);
delay(100);
digitalWrite(LED2,LOW);
delay(100);
digitalWrite(LED3,LOW);
delay(100);
}














