Загрузка...

Arduino 3 LED Blink Program | Simple Beginner Project | S01

Welcome to Build With Sahil 🚀
Not Just Theory, We Build Real Technology.

In this video, I demonstrate a simple Arduino project where three LEDs (Green, Yellow, Green) are connected and controlled using digital output pins.

This project helps beginners understand:
• Pin configuration using pinMode()
• Digital output using digitalWrite()
• Timing control using delay()
• Basic LED interfacing with Arduino

💻 Arduino Code:

int o = 11; // LED 1 connected to pin 11
int t = 12; // LED 2 connected to pin 12
int th = 13; // LED 3 connected to pin 13

void setup() {
pinMode(o, OUTPUT);
pinMode(t, OUTPUT);
pinMode(th, OUTPUT);
}

void loop() {
digitalWrite(o, HIGH);
digitalWrite(t, LOW);
digitalWrite(th, HIGH);
delay(1000); // 1 second delay

digitalWrite(o, LOW);
digitalWrite(t, HIGH);
digitalWrite(th, LOW);
delay(1000); // Change delay to control speed
}
You can modify the variable names, pin numbers, and delay time according to your project requirements.

If you found this helpful, like, share, and subscribe for more Arduino, IoT, and automation projects.

⚡ Build With Sahil
Real Innovation. Real Engineering. Real Impact.

Видео Arduino 3 LED Blink Program | Simple Beginner Project | S01 канала Build With Sahil
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять