You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# SPI
sudo raspi-config nonint do_spi 0
sudo reboot
# packages
sudo apt install -y git wiringpi python3-pip python3-spidev python3-numpy python3-pil
pip3 install RPi.GPIO spidev
# [Raspberry Pi 4 only] needs latest version of WiringPi
cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
# BCM2835
cd /tmp
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz
tar zxvf bcm2835-1.60.tar.gz
cd bcm2835-1.60/
./configure
sudo make
sudo make check
sudo make install
# python
cd ~
git clone https://github.com/waveshare/e-Paper
cd ~/e-Paper/RaspberryPi*/python/
python3 setup.py install
# test
cd ~/e-Paper/RaspberryPi*/python/examples
python3 epd_2in13d_test.py # adjust the "2in13d" part to your size