Raspberry Pi LCD Display: 16×2 Zeichen anzeigen (HD44780)
wget http://www.tutorials-raspberrypi.de/wp-content/uploads/scripts/hd44780_test.py
chmod +x hd44780_test.py
python hd44780_test.py
adjust script:
sudo nano hd44780_test.py
http://forum.audiophonics.fr/viewtopic.php?f=12&t=2182&p=8756
git clone https://github.com/dhrone/pydPiper
cd pydPiper
sudo ./install_docker.sh
sudo ./install_volumio.sh
Startup mode duration (in seconds)? [5]: 5
DISPLAY CONFIGURATION
Display type?: hd44780
Register select pin? [7]: 4
Enable pin? [8]: 17
Data 4 pin? [25]: 18
Data 5 pin? [24]: 22
Data 6 pin? [23]: 23
Data 7 pin? [27]: 24
Width of display (in pixels)? [80]: 80
Height of display (in pixels)? [16]: 16
Enable pulse duration (in microseconds)? [0.1]: 0.1
Location of the pagefile? [pages_lcd_16x2.py]: pages_lcd_16x2.py
Animation Smoothing (in seconds)? [0.15]: 0.15
SYSTEM CONFIGURATION
Location of log file? [/var/log/pydPiper.log]: /var/log/pydPiper.log
Logging Level? [info]: info
Time Zone? [US/Eastern]: US/Eastern
24-hour clock? [True]: true
Temperature Scale? [fahrenheit]: celsius
Enable weather? [n]: n
MUSIC DISTRIBUTION
Name of distribution? [volumio]: volumio
Server address? [localhost]: localhost
Port? [3000]: 3000
sudo docker run --network=host --privileged -v /var/log:/var/log:rw -v /home/volumio/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha python /app/pydPiper.py
exit
sudo cp pydpiper.service /etc/systemd/system
sudo systemctl enable pydpiper
sudo systemctl start pydpiper
edit file:
cd pydPiper
ls
nano pages_lcd_16x2.py
modify shutdown message:
sudo nano pydPiper.py