8. LED Blink

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

 
 

 

 

 

Code

const int LEDpin = 11;

void setup() {
  // put your setup code here, to run once:
  pinMode(LEDpin, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(LEDpin, LOW);
  delay(400);
  digitalWrite(LEDpin, HIGH);
  delay(800);
}

Output

Video

Photo of Output

Was this helpful?
Upvote
Downvote