8. LED Blink

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

 connect resistor with 320 ohm, in series with LED with voltage drop of 1.8V.

then write following code

 

void setup(){

pinMode(4,OUTPUT);

}
void loop(){

digitalWrite(4,HIGH);

delay(400);

digitalWrite(4,LOW);

delay(800);

}

 

 

 

Code

/*Paste your code here*/
void setup(){

pinMode(4,OUTPUT);

}
void loop(){

digitalWrite(4,HIGH);

delay(400);

digitalWrite(4,LOW);

delay(800);

}


 

 

 

Output

Video

Add video of the output (know more)

 

 

Photo of Output

Add a photo of your hardware showing the output.

 

Was this helpful?
Upvote
Downvote