Programming the Trinket

To get you started quickly, we've created a single file that contains everything you'll need to program your Trinket M0 and turning it into a HandRaiser.  Once that's working you can adjust and customize your device to suit your needs.

The HandiRaiser.UF2 file is a complete image that will program the Trinket and load the support files all in one shot.  To load the UF2 file:

  1. Plug in the Trinket using the (known-good) Power+Data USB cord
  2. Place the Trinket in Bootloader Mode by double-tapping the Reset Button.  (The RGB LED on the Trinket will blink green)
  3. Locate the new drive (named TRINKETBOOT) that is created in Bootloader Mode (usually named D:\, E:\ or another letter on Windows).  You will know you have the right drive if you see a file named CURRENT.UF2
  4. Copy the HandRaiser.UF2 file to that drive.  The Trinket will restart and you should see a new drive named CIRCUITPY.

Once the process is complete, your HandRaiser should reset and should go into a slowly changing "Wheel" color pattern that goes through all the colors of the spectrum.

Next, let's set this up so that our users can choose the color and pattern they want directly from any computer with a USB port.

This guide was first published on Jun 25, 2019. It was last updated on Jun 25, 2019. This page (Programming the Trinket) was last updated on Oct 17, 2019.