Rocket Headlight Blink Bug Hunt! Test your Troubleshooting.

You may have already run into some errors in modifying or writing your own code. Don't worry, studies have shown that almost half of all code 'compiles' result in an error! 

The code below has an error sprinkled in it. It won’t run, but see if you can find and fix the error to make it work!

//Blink one of the headlights on and off once per second void setup(){ pinMode(3,OUTPUT); //Set LED 3 as an 'OUTPUT' } void loop(){ digitalWrite(3,HIGH); // turn on the #3 LED delay(1000); /delay the program for 1 second with the LED on digitalWrite(3,LOW); // turn off the #3 LED delay(1000); //delay the program for 1 second with the LED off } //The loop will start over at this point. // (c) 2018 Let's Start Coding. License: www.letsstartcoding.com/bsdlicense
 



Need a hint? Click here.