Components used:-
Arduino UNO R3 board
Led Lights
BASICS-
Understanding the base of arduino learning by starting off with blinking the led lights
Setting up the interface:-
Just connect the longer wire of the led which is the live side of the led to the pin 2 of the arduino board and the smaller side to the pin 3 and then upload the following code;
![](https://static.wixstatic.com/media/a27d24_f6dc7af318e0431eb79103c89f01906d~mv2.png/v1/fill/w_273,h_184,al_c,q_85,enc_auto/a27d24_f6dc7af318e0431eb79103c89f01906d~mv2.png)
Code:-
void setup()
{ pinMode(2,OUTPUT); pinMode(3,OUTPUT); } void loop()
{ digitalWrite(2,HIGH); digitalWrite(3,LOW); delay(1000); digitalWrite(2,LOW); digitalWrite(3,LOW);
delay(1000); }