First Arduino Code Blinking LED By Technoesolution | #arduinotutorial
January 29, 2022
In this tutorial we are going to run simple code in Arduino, we will run the blinking led code in Arduino. Arduino has its onboard led on pin number 13. This led blinks when Arduino gets connected to the power supply. In this tutorial, I'm connecting led to the Arduino's D8 pin. I've done the stimulation of blinking led on Tinkercad, see the video below. To do this actual project on Arduino you need Arduino IDE software, to upload the code on the Arduino board. I created an Arduino ide software installation tutorial in my recent tutorials you can refer to that tutorial. Click on the following link to install Arduino ide software.
Material Required:-
Circuit Diagram:-
Arduino Code:-
void setup()
{
pinMode(8, OUTPUT);
}
void loop()
{
digitalWrite(8, HIGH);
delay(500); // Wait for 1000 millisecond(s)
digitalWrite(8, LOW);
delay(1000); // Wait for 1000 millisecond(s)
}
Arduino IDE software:-
Open Arduino IDE software
Click on File
Click on Examples
Click on Basics
Click on Blink
Here is a sample code of LED blinking
Video Demonstration:-
You can Buy me coffee If you got this article helpful.
Post a Comment