installation d'un ecran Winstar WEH001602A Oled Screen 16x2 HD44780 sur moode 6.7.
- Code:
cd /home/pi
git clone https://github.com/dhrone/pydPiper
cd /home/pi/pydPiper
- Code:
sudo ./install_docker.sh
Entrer les caractéristique de l'écran
- Code:
sudo python configure.py
STARTUP CONFIGURATION
Startup mode duration (in seconds)? [5]:
DISPLAY CONFIGURATION
Display type? [winstar_weg]:
Register select pin? [7]:
Enable pin? [8]:
Data 4 pin? [25]:
Data 5 pin? [24]:
Data 6 pin? [23]:
Data 7 pin? [27]: 15
Width of display (in pixels)? [80]:
Height of display (in pixels)? [16]:
Enable pulse duration (in microseconds)? [0.1]:
Location of the pagefile? [pages_weh_80x16.py]: pages_lcd_16x2.py
Animation Smoothing (in seconds)? [0.1]:
SYSTEM CONFIGURATION
Location of log file? [/var/log/pydPiper.log]:
Logging Level? [info]:
Time Zone? [US/Eastern]: Europe/Paris
24-hour clock? [false]: true
Temperature Scale? [fahrenheit]: celsius
Enable weather? [n]: n
MUSIC DISTRIBUTION
Name of distribution? [volumio]: moode
Server address? [localhost]: localhost
Port? [6600]:
Password?: moodeaudio
UPDATING pydPiper.cfg
Creating pydpiper.service file
Lancer le test votre écran doit s'allumer
- Code:
sudo /usr/bin/docker run --network=host --privileged -ti -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha /bin/bash
- Code:
python pydPiper.py
- Code:
Ctrl c exit
- Code:
sudo cp pydpiper.service /etc/systemd/system
sudo systemctl enable pydpiper
sudo systemctl start pydpiper
Réglage des Widgets
- Code:
sudo nano pages_lcd_16x2.py
Dans la partie sequence replacer 'stream' par 'encoding'
- Code:
sudo reboot
source : https://github.com/dhrone/pydPiper