Next we will define what we want to happen when button A is pressed. To start, let's say when button A is pressed, a middle C will sound.
- Go to the music tab and grab a "play tone at middle C for 1/2 a beat".
- Place it inside of the if statement.
Now we can test out what we have so far by pressing button A on the virtual Circuit Playground Express on the left. Try pressing button A and see what happens (make sure your computer volume is on).
Neato!
Page last edited March 08, 2024
Text editor powered by tinymce.