All submissions

Solving Approach

How do you plan to solve it?

 
 

 

 

 

Code

const int led = 4;                //  LED is connected to the pin 4                 

void setup() {
 pinMode(led, OUTPUT);            // Set the LED pin as an output
}

void loop() {
  digitalWrite(led, HIGH);        // LED is turn ON
  delay(400);                     // waits for a 400 msec second
  digitalWrite(led, LOW);         // LED is turn OFF
  delay(800);                     // waits for a 800 msec second

}


 

 

 

Output

Video

https://wokwi.com/projects/442616653564038145

 

 

Photo of Output

Add a photo of your hardware showing the output.

 

 

Submit Your Solution

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