Speaker Ascend to Charge : Part Three Bug Hunt! Test your Troubleshooting.
This code will run on Code Speaker, but it’s missing something important. Find it and fix it in this bug hunt.
This code will run on Code Speaker, but it’s missing something important. Find it and fix it in this bug hunt.
Each of your notes in the void loop is referencing a variable value created above the void setup. One of your note variables has an incorrect starting value.
Think about how you 'hunted down' this bug. Did you scan the code and look for something out of place? Did you run the code and find that something was wrong through your exprience, then trace it back to the source? There are many right ways to bug hunt!