Python script to show various info for Odroid C2 16x2 LCD screen
Script support 5 different modes for output:
- Multimode, cycle through all other modes
- Show current ip address
- Show hostname
- Show load Average
- Show current TIME
Modes can be switched by pressing buttons on 16x2 LCD Screen Current mode is displayed by corresponding LED light(and you'll see a show message when pressing a button)
This script require module WiringPi2 for Pythong
https://github.com/Gadgetoid/WiringPi2-Python
Clone and execute
git clone https://github.com/sbulav/lcd-odroid-status.git
cd lcd-odroid-status
sudo lcd-odroid-status &
Copy python script to /usr/local/bin:
sudo cp lcd-odroid-status.py /usr/local/bin/lcd-odroid-status.py
Copy SystemD unit file to /etc/systemd/system:
sudo cp lcd-odroid-status.service /etc/systemd/system/
Load new unit file:
sudo systemctl daemon-reload
Start lcd-odroid-status and enable it if you'd like script to start at system boot:
sudo systemctl start lcd-odroid-status
sudo systemctl enable lcd-odroid-status
Monitor status and errors:
systemctl status lcd-odroid-status