LCDTools for Raspberry Pi
Random stuff for working with the Adafruit i2x 16x2 RGB LCD Pi Plate.
Prerequisites
Get the python package for interfacing to the LCD plate from the Adafruit github repository:
Don't forget to add the Adafruit_CharLCDPlate
directory to your PYTHONPATH
.
lcd.py
Commandline interface for the LCD plate.
lcdd.py
Status display "daemon" program.
-
Start a server: ./lcdd.py --socket comm.sock --server --title "First line"
-
Talk to it using the client: ./lcdd.py --socket comm.sock --client --message "p10" ./lcdd.py --socket comm.sock --client --message "quit"
Available messages:
-
quit
: shut down server -
pXXX
: display a percentage bar between 0% and 100%