8. LED Blink

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

 
 

 

 

 

Code

/*Paste your code here*/

const int led = 4;                                
void setup() 
{
 pinMode(led, OUTPUT);        
}
void loop() 
{
  digitalWrite(led, 1);        
  delay(400);                    
  digitalWrite(led, 0);         
  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