Rocket Booster Fade Bug Hunt! Test your Troubleshooting.

Don’t be spooked by the errors that pop up when you try to upload this program. Instead, grab your purple reference cards and do a syntax check!

/* Buggy: Fade up the booster LED lights*/ void setup(){ pinMode(9,OUTPUT); pinMode(10,OUTPUT); } void loop(){ for(int i<256; i=0; i++){ //set brightness to 0, increasing it by 1 every 'for' loop until it equals 255 analogWrite(9,i); //send the brightness level 'i' to LED9 analogWrite(10,i); //send the brightness level 'i' to LED10 delay(25); //wait 25 milliseconds before increasing brightness } } // (c) 2018 Let's Start Coding. License: www.letsstartcoding.com/bsdlicense
 



Need a hint? Click here.