In this instructable, I am going to show you how to Blink LED using Arduino with very simple code and program in Embedded C language.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Component Required
1 x LED
1 x Arduino board
1 x USB cable
1 x Computer with Arduino software installed
Step 2: LED Connection
Here is simple LED connection with Arduino, We can connect LED positive terminal to any digital pin which is PIN-2-13 depend on program, Here it is connected with Pin Number 13 and other terminal of LED is connected with GND pin of Arduino.
Step 3: Circuit Diagram
Here is very simple circuit for LED blinking, We connect the Positive terminal to Pin-13 and Negative ternimal of LED to GND pin, We can also use a resistor in series.
Step 4: Program
Here is .ino file for this instructable.
int led = 13;
Step 5: Uploading Program
Here is IDE, ones write code then verify the code and after then upload this code by press the upload button in IDE, one more thing in program is delay time, this is the function which is use for provide delay between LED ON & OFF.