My first experience with Arduino programming (LED Blinking program)
Hello guys,
Welcome to my blog,
This blog is to describe my begin of Arduino programming (LED Blinking program).
I started learning Arduino Programming.
It is evident that when anyone starts learning any new language he must start with the basic program of printing a “Hello World!” message,
same as for i started with the basic LED blinking program.
LED blinking is treated as the very beginner program in arduino, because it is so simple and easy to understand.
What is to be done is:
Turns an LED on for one second, then off for one second, repeatedly.
Actual saying is, to blink an LED with described delay of time between each blink of LED.
We will now see how it is done.
Basic or default setup for Arduino programming:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Now the actual led program.
LED program:
// LED Blink Program
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}
Hardware Connection:
***************
Circuit Diagram:
You can find the detailed explanation of LED blink program on Arduino Documentation.
Later on the great projects and ideas based on Arduino and IoT are coming, so please continue supporting me.
Finally, thanks for reading my post,
If you like my post, please do support me.
More Details:
Youtube Channel: A1 EduTech
Peakd blogs: A1 EduTech
Artstation: Asad Ali Art
DTube Channel: A1 EduTech
Leave My first experience with Arduino programming (LED Blinking program) to:
Read more #arduino posts
Best Posts From A1 EduTech
We have not curated any of a1edutech's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From A1 EduTech
- My first experience with Arduino programming (LED Blinking program)
- Palindrome Program using C
- C program to check whether a number is Armstrong Number.
- My Mistake on Hive : I Am Sorry Hive Community.
- Deleted
- I made Wormhole Loop Animation (Blender Animated Video)
- Robot Animation 001
- How to Create a Free WAX Cloud Wallet || THE KING OF NFTs || NFT Trade
- Music For The World || My First Music Composition || Chrome Music Lab
- White List Request for D.Tube || Original Dtubers || @asadalidtube12