All submissions

Solving Approach

How do you plan to solve it?

 This is quiet a smile Arduino program. A script has to be written to turn on a particular GPIO pin for 400ms and off for 800ms
 

Code


#define LEDPIN 7

void setup() {
  
  pinMode(LEDPIN, OUTPUT);

}

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


 

 

 

Output

Video

video of the output (know more)

 

 

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!