![]() Apparently, the PIL package is all but dead, but there is an alternative, Pillow. You also need the python3-pil package for drawing shapes. You also need some Python libraries to use Python to control the ePaper display, the RPi.GPIO pip package. # Configure, build, check and install the BCM2853 libraries # Change directories into the extracted code To install the libraries, you need to download the software tarball and build and install the software with make: # Download the BCM2853 libraries and extract them Install BCM2835 librariesĪs mentioned above, the BCM2835 libraries are software for the Broadcom BCM2385 chip on the Raspberry Pi, which allows access to the GPIO pins and the ability to use them to control devices.Īs I'm writing this, the latest version of the Broadcom BCM 2835 libraries for the Raspberry Pi is v1.68. ![]() The SPI bus allows serial data communication to be used with devices-in this case, the ePaper display: $ sudo raspi-configįrom the menu that pops up, select Interfacing Options -> SPI -> Yes to enable the SPI interface, then reboot. The easiest way to enable SPI is with the Raspberry Pi raspi-config command. Here's a step-by-step walkthrough of how to do these tasks. Finally, you need to install the Waveshare libraries for working with the 2.13" display using Python. Setting up the Raspberry Pi to work with the ePaper display requires you to enable the Serial Peripheral Interface (SPI) in the Raspberry Pi software, install the BCM2835 C libraries (to access the GPIO functions for the Broadcom BCM 2835 chip on the Raspberry Pi), and install Python GPIO libraries to control the ePaper display.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |