A1 EduTech avatar

My first experience with Arduino programming (LED Blinking program)

a1edutech

Published: 26 Jul 2023 › Updated: 26 Jul 2023My first experience with Arduino programming (LED Blinking program)

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:

Picture1.jpg

***************

Circuit Diagram:

Picture2.jpg


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:

Written by

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