Installing the requisite libraries
In this section, we will install the requisite libraries needed for this chapter, including the NeoPixel LED and the wireless pack to the Raspberry Pi Pico. The libraries are all part of the Adafruit CircuitPython bundle. The latest bundle can be downloaded as a ZIP file from https://circuitpython.org/libraries. We have used the bundle version intended for CircuitPython 6.x.x.
After downloading the ZIP file, extract their contents so that we can copy the libraries we need for the project.
NeoPixel
We need the neopixel.mpy
binary to control the NeoPixel LED. Copy over the binary to the lib
folder.
Wireless pack
We need the adafruit_esp32spi
library for the wireless pack. Copy over the folder (with the same name) to the lib
folder of your Pico. We will also need the adafruit_requests.mpy
binary from the bundle.
Setting Up the Wireless Pack
In Chapter 2, Serial Interfaces and Applications, we discussed setting up the wireless pack...