Bug Hunt! Test your Troubleshooting.

By this point, you've surely made a few mistakes when modifying code. Hopefully, you're keeping track of what's going wrong and getting better at making fixes. This program has more subtle errors- try to find them without the help of the compiler. If you can, you're coming along great!

Four Note Piano with Synced LED Hookup: 1 speaker in pin A5, 1 LED in pin 2, 4 buttons in pins 4,6,9,12. Remember short leg of LED is ground.

Code

1
2
/*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 

Looking for answers? Click here to see them.

Videos