Getting Familiar

CircuitPython is a programming language based on Python, one of the fastest growing programming languages in the world. It is specifically designed to simplify experimenting and learning to code on low-cost microcontroller boards. This guide covers the basics:

Be sure you have the latest CircuitPython for your board loaded onto your board. This should be from no earlier than the end of Feb 2019.

CircuitPython is easiest to use within the Mu Editor. If you haven't previously used Mu, this guide will get you started.

The logging module will work with any CircuitPython capable board, M0, M4, nRF52840, etc.

Download Library Files

Plug your CircuitPython supported board into your computer via a USB cable. Please be sure the cable is a good power+data cable so the computer can talk to the Feather board.

A new disk should appear in your computer's file explorer/finder called CIRCUITPY. This is the place we'll copy the code and code library. If you can only get a drive named xxxxBOOT, load CircuitPython per the guide above.

Create a new directory on the CIRCUITPY drive named lib.

Download the latest CircuitPython driver package to your computer using the green button below. Match the library you get to the version of CircuitPython you are using. Save to your computer's hard drive where you can find it.

The logging support is in the adafruit_logger package.

Copy the adafruit_logger package to the /lib directory on your board.

This guide was first published on Mar 18, 2019. It was last updated on Mar 28, 2024.

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

Text editor powered by tinymce.