Circuit Playground Express Library

The Circuit Playground Express, or CPX, has all kinds of sensors, buttons, switches and LEDs built into it. To top it off, it works with CircuitPython. Normally, using CircuitPython with a button or sensor requires setup in your code. Sometimes this means one line of code. Other times, it can mean several. Wouldn't it be nice to be able to skip all of that and get right to work? We've got you covered. Whether you're new to programming CircuitPython, or would like a simple way to include the Circuit Playground Express functionality in your code, the Circuit Playground Express Circuit Python library is exactly what you're looking for.

We've designed a CircuitPython library that makes it super easy to get started with Circuit Playground Express. All of the setup normally required for much of what is built into the CPX is done for you. All you need to do is import this library, and you can immediately begin to tell the board what to do. This guide will go through each feature available in the library and provide examples of how to use it.

There's a few things you should do before going through this guide to make sure you're all set to go. Let's take a look!

This guide was first published on Jun 05, 2018. It was last updated on Jun 05, 2018. This page (Circuit Playground Express Library) was last updated on Nov 10, 2019.