Complete the code to turn on the LED connected to pin 13.
digitalWrite([1], HIGH);The LED is connected to pin 13, so we use digitalWrite(13, HIGH); to turn it on.
Complete the code to make the LED blink by turning it off.
digitalWrite(13, [1]);
To turn the LED off, we use LOW with digitalWrite.
Fix the error in the code to set pin 13 as output.
pinMode([1], OUTPUT);Pin 13 is the correct pin connected to the LED and must be set as output.
Fill both blanks to create a pattern that turns the LED on and off with a delay.
digitalWrite(13, [1]); delay([2]);
Use HIGH to turn the LED on and 1000 milliseconds delay for 1 second.
Fill all three blanks to complete the loop that blinks the LED on and off with delays.
void loop() {
digitalWrite(13, [1]);
delay([2]);
digitalWrite(13, [3]);
delay([4]);
}The LED is turned on with HIGH, then delayed 500 ms, then turned off with LOW, then delayed 500 ms again.
