In this project we will simply blink an LED using arduino board.
2.LED
3.Connecting Wires.
// put your setup code here, to run once:
pinMode(13,OUTPUT);
}
int i=0;
void loop() {
// put your main code here, to run repeatedly:
for(i;i<5;i++)
{
digitalWrite(13,HIGH);
delay(1000);
digitalWrite(13,LOW);
delay(1000);
}
}
Things Required to built this project:-
1.Arduino Board.2.LED
3.Connecting Wires.
Circuit Diagram:-
Code to built this project:-
void setup() {// put your setup code here, to run once:
pinMode(13,OUTPUT);
}
int i=0;
void loop() {
// put your main code here, to run repeatedly:
for(i;i<5;i++)
{
digitalWrite(13,HIGH);
delay(1000);
digitalWrite(13,LOW);
delay(1000);
}
}
Thanks for your feed back we will soon reply you EmoticonEmoticon