modify parallel epd run file

This commit is contained in:
aceisace
2022-04-10 02:27:44 +02:00
parent 414f3d0ccf
commit 1f7ef37da1
104 changed files with 37256 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#!/bin/bash
# Unzip C++ SPI library and driver files
echo "Unzipping files"
unzip bcm2835-1.68.zip
unzip IT8951.zip
rm bcm2835-1.68.zip
rm IT8951.zip
# Install C++ SPI library for Raspberry
echo "Installing C++ SPI library"
cd bcm2835-1.68
chmod +x configure
./configure
make
sudo make check
sudo make install
# Install 7.8" E-Paper drivers
echo "Installing 7.8 inch E-Paper drivers"
cd ..
cd IT8951
sudo make clean
sudo make -j4
# Show image to check if it works
echo "Showing demo image"
sudo ./IT8951 0 0 pika.bmp
echo "If you see a pikachu on the E-Paper, the install"
echo "was successfull. If not, please report this issue."