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.

How To Play

With the Hot Potato sketch loaded and running on the Circuit Playground you're ready to play. See the Arduino section for details.

This guide was first published on Apr 05, 2017. It was last updated on Nov 30, 2017.

This page (Hot Potato Code) was last updated on Nov 29, 2017.

Text editor powered by tinymce.