Now that the circuit is all soldered up, it's a good idea to load in the code before stuffing everything inside the crown. 

If you're new to CircuitPython, you may want to check out this getting started guide first!

Your Trinket M0 board already comes pre-loaded with CircuitPython, but it's a good idea to update to the latest version, so follow this guide to do so.

You'll also need a couple of libraries copied into the lib folder of your CIRCUITPY drive before you can run the code. Download the bundle of libraries from the Libraries page that correspond to your CircuitPython version, unzip, find the following files and copy them over to the lib folder:

  • adafruit_pypixelbuf.mpy
  • neopixel.mpy

For more detailed instructions about adding libraries, head on over to this CircuitPython Libraries page.

Your CIRCUITPY drive should now look like this:

This guide was first published on Nov 10, 2021. It was last updated on Apr 17, 2024.

This page (CircuitPython Setup) was last updated on Mar 08, 2024.

Text editor powered by tinymce.