Arduino Uno LED Blinking tutorial
LED Blinking project is knows as the first project of arduino programming.
In this project we will learn arduino basic programming. and how to use any digital pin of the arduino as an input or output.
how to get a command it will be High( 5 volts output) or Low ( 0 volt output).
What is LED?
LED is a small power light emitting diode that is emite the light when power supply given. it have two terminals one is anode and cathode.
Components required for this project
Arduino Uno R3
LED
Jumper wire
Arduino programming cable.
Code for LED Blinking -
Note from program
pinMode () ;
Syntax of pin pinMode function :-
configure the specified pin to be have either as an output or input.
pinMode (Pin No, Mode);
Mode - INPUT /OUTPUT
pinMode (2,OUTPUT) ; We can used any digital pin of the arduino uno board as a input pin or output pin.
Before use of any digital pin of the arduino we need to tell arduino whether it is use as an input or output.
that function called
pinMode () ;