Bash script to add support for 2-coloured E-Paper

Execute this script to add support for 2-colour E-Paper version from waveshare.
This commit is contained in:
Ace 2018-09-25 23:45:58 +02:00 committed by GitHub
parent 5b941e3b91
commit 4424d1d5a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,8 @@
#!/bin/sh #!/bin/sh
echo -e "\e[1;31m"This is a experimental bash script to add support for 2-colour E-Paper Displays"\e[0m" echo -e "\e[1;31m"This is a experimental bash script to add support for 2-colour E-Paper Displays"\e[0m"
cd /home/pi cd /home/pi
echo -e "\e[1;36m"Downloading the python converter..."\e[0m"
wget https://raw.githubusercontent.com/aceisace/E-Paper-Calendar-with-iCal-sync-and-live-weather/master/2-Colour-support/beta-converter.py wget https://raw.githubusercontent.com/aceisace/E-Paper-Calendar-with-iCal-sync-and-live-weather/master/2-Colour-support/beta-converter.py
echo -e "\e[1;36m"Running the python converter"\e[0m"
python3.5 beta-converter.py python3.5 beta-converter.py
echo -e "\e[1;36m"All done. Please reboot to apply changes."\e[0m"