To interface LED/Buzzer with Arduino|led blinking with using Arduino c program|led on off
Автор: Ambabus Creations
Загружено: 2024-11-10
Просмотров: 86
This video is to Interface the LED with Arduino Program To turn the led 'On' & 'Off' for one and Two seconds|led Delay.
Arduino UNO
Link https://amzn.in/d/7CCsu0a
2.LED light
Link https://amzn.in/d/1aj7oYE
3.Bread Board
Link https://amzn.in/d/71mEEba
4.Jumper Wires
Link https://amzn.in/d/6iS2dFw
5.Arduino Droid Mobile Apps
Link https://play.google.com/store/apps/de...
Arduino Program
const int buzzer=13; //led or buzzer
void setup()
{
// initialize digital pin 13 as an output.
pinMode(buzzer, OUTPUT);
}
// the loop function runs over and over again forever
void loop()
{
digitalWrite(buzzer, HIGH);
// turn the buzzer on (HIGH is the voltage level)
delay(1000);
// wait for a second
digitalWrite(buzzer, LOW);// turn the buzzer off by making the voltage LOW
delay(2000);
// wait for a two seconds
}
Thanks for watching our videos
Ambaush creation
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: