OK, we are ready to put this all together into our Circuit Playground Express Hot Potato sketch. Download and unzip the following file:
You should get the following 3 files:
- hot_potato.py - the main game
- melody.py - defines a melody as a series of notes
- pitches.py - defines tones for each note
Place all 3 files on your Circuit Playground Express. To have the code run when you press reset, rename hot_potato.py to main.py.
Page last edited March 08, 2024
Text editor powered by tinymce.