Installing requisite libraries
In this section, we will install the requisite libraries for the temperature sensor, the display, and the wireless pack. The libraries are all a part of the Adafruit CircuitPython bundle. The latest bundle can be downloaded as a ZIP file from https://circuitpython.org/libraries. We used the bundle version meant for CircuitPython 6.x.x.
After downloading the ZIP file, extract its contents so that we can copy the libraries we need for the project.
CircuitPython Installation
We are assuming that you have installed CircuitPython on your Pico. If you are not familiar with the installation process, we recommend following the installation process from Chapter 1, Getting Started with the Raspberry Pi Pico.
HTU21D-F temperature sensor
If you are using the HTU21D-F temperature sensor (shown in the following figure), it requires two libraries, namely adafruit_bus_device
and adafruit_htu21d
. From the library folder, copy over the adafruit_bus_device...