doc:appunti:hardware:raspberrypi_thermostat
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:appunti:hardware:raspberrypi_thermostat [2022/01/12 16:47] – [Installing the new Adafruit LCD library] niccolo | doc:appunti:hardware:raspberrypi_thermostat [2022/01/12 17:09] – [Installing the old Adafruit LCD library] niccolo | ||
---|---|---|---|
Line 712: | Line 712: | ||
As reported above, the new **Adafruit CircuitPython PCD8544** library is more CPU intensive than the old discontinued one **[[https:// | As reported above, the new **Adafruit CircuitPython PCD8544** library is more CPU intensive than the old discontinued one **[[https:// | ||
- | FIXME Describe | + | The library is not available from the **[[https:// |
+ | |||
+ | < | ||
+ | apt install python3-spidev | ||
+ | mkdir -p / | ||
+ | cd / | ||
+ | pip3 download Adafruit-GPIO | ||
+ | pip3 install Adafruit_PureIO-1.1.9-py3-none-any.whl | ||
+ | pip3 install Adafruit_GPIO-1.0.3-py3-none-any.whl | ||
+ | </ | ||
+ | |||
+ | We download the library from its **GitHub repository** and install it using **pip3**: | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | git clone https:// | ||
+ | cd Adafruit_Nokia_LCD/ | ||
+ | pip3 install . | ||
+ | </ | ||
+ | |||
+ | The dependencies tree is the following: | ||
+ | |||
+ | * Adafruit_Nokia_LCD | ||
+ | * Adafruit_GPIO | ||
+ | * Adafruit_PureIO | ||
+ | * spidev | ||
==== Installing the Telegram Bot Python library ==== | ==== Installing the Telegram Bot Python library ==== | ||
doc/appunti/hardware/raspberrypi_thermostat.txt · Last modified: 2022/01/12 17:11 by niccolo