Running Demo Codes - Waveshare 4.2inch e-Paper Module User Manual

Hide thumbs Also See for 4.2inch e-Paper Module:
Table of Contents

Advertisement

4.2inch e-Paper Module User Manual
sudo pip install RPi.GPIO
PYTHON3 LIBRARY
Open Terminal and install library with commands:
sudo apt-get install python3-pip
sudo apt-get install python-imaging
sudo pip3 install spidev
sudo pip3 install RPi.GPIO
sudo pip3 install Pillow
If you get the error while installing Pillow: ImportError: libopenjp2.so.7: cannot open
shared object file: No such file or directory. Please install libopenjp2-7-dev with the
command: sudo apt-get install libopenjp2-7-dev then try again.

RUNNING DEMO CODES

Enter folder of examples
Running bcm2835 example:
cd ~/RaspberryPi/bcm2835
make
sudo ./epd
Running wiringPi example:
cd ~/RaspberryPi/wiringpi
make
sudo ./epd
V2.0
#enter the example directory
#compile codes
#running
#enter the example directory
#Compile
#running
15 / 25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents