Preparing the CircuitPython library for Pico
CircuitPython is a good starting point—it gives you the basics that we will be using—but we will also be interfacing with other hardware. The CircuitPython library, united across many devices with the same version of Pico, creates an interface you can take with you to other microcontrollers should you want to try others out.
Let’s use the following steps to prepare a module from the library:
- Open the
CIRCUITPY
drive on your computer and find a folder calledlib
. This is the target for libraries. - Download the CircuitPython Library Bundle from https://circuitpython.org/libraries. The version you download should match the version of CircuitPython you downloaded before.
- This gets you a ZIP file. Expand the ZIP contents, and you should get a folder with a
README
, examples, and alib
folder. We will keep this handy. When we need libraries from here, we copy them over to Pico. - The whole library is too...