Blinking TWO Led's with Arduino and Breadboard #03
Blinking TWO Led's with Arduino and Breadboard In this tutorial we will see how to turn on two Led's using Arduino Uno for beginners Required Component :
1. Arduino Uno
2. Breadboard
3. Register -2
4 . led -2
5. Jumper wires
6. Arduino Uno supply cable In below video you will see the practical with connect checkout video also,
Connect led to an arduino Uno as shown below:
Write Program in Arduino ide as below:
void setup()
{
pinMode(12, OUTPUT);
pinMode(11, OUTPUT);
}
void loop()
{
digitalWrite(12, 1); // you can take HIGH also
digitalWrite(11, 1); // you can take HIGH also
delay(500);
digitalWrite(12, 0);//you can take LOW also
digitalWrite(11, 0);//you can take LOW also
delay(500);
}
By using above code you can turn on your Led's very easily To turn on one led using Arduino Uno visit Below Link:
https://infyskycodingcorner.blogspot.com/2023/07/arduino-tutorial-for-beginners-basic.html
Thanks info@infysky.com
Post a Comment