code Solving Approach

How do you plan to solve it?

step 1:  Declare gpio pin  or led

step2 : initialize led as output

step3: will write code for led  so led will blink for 400ms and off for 800ms using delay method.
 

 

 

 

Code

/*Paste your code here*/
#define led 5
void setup(){
pinMode(led,OUTPUT);
}

void loop(){
digitalWrite(led, HIGH);
delay(400);
digitalWrite(led, LOW);
delay(800);
}

 

 

 

Output

Video

Add video of the output (know more)

 

 

Photo of Output

Add a photo of your hardware showing the output.

 

 

Upvote
Downvote

Submit Your Solution

Note: Once submitted, your solution goes public, helping others learn from your approach!