Install CircuitPython

The Adafruit Feather M4 ships with CircuitPython but lets go ahead and update it to the latest version. It's super easy with the circuitpython.org website, just click the link below to launch the page. There you can choose to install stable release or beta. 

Quick Start

  • Connect board to computer via a known good USB and double press the reset button.
  • Download the CircuitPython UF2 and upload to the FEATHERBOOT drive.
  • Open CIRCUITPY drive and upload the required libraries (listed below) and code.py

Adafruit Circuit Python Libraries

Download the CircuitPython library bundle and unzip the folder. Create a new folder in the CIRCUITPY drive and name it "lib". The following libraries are required to run the code properly. Double check to ensure all of the files and folders are inside the lib folder on the CIRCUITPY drive.

  • adafruit_bus_device (directory)
  • adafruit_lis3dh.mpy
  • neopixel.mpy
  • adafruit_rgbled.py
  • simpleio.mpy

Upload code.py

Click the link below to download the project code. Save it as code.py on your CIRCUITPY drive.

Temporarily unable to load content:

Troubleshooting

If it's not working, make double-sure you have all the above libraries installed in your "lib" folder. Also be sure all your wire connections are tight and the wires are connected up correctly.

More about CircuitPython can be found here!

Important Note about Power!!

Do NOT leave the battery pack plugged in to the Feather while you also have a USB cord plugged in. The Feather has onboard charging, so it will try to charge your AA batteries, which could result in battery damage and / or Feather damage. 

This guide was first published on Jun 18, 2019. It was last updated on Jul 18, 2024.

This page (Software) was last updated on Jul 18, 2024.

Text editor powered by tinymce.