Skip to content
Snippets Groups Projects
zing's avatar
zing authored
The wrapper script also does some sanity checks for my Pi setup.
387971c7
History
Name Last commit Last update
wrappers
README.md
check_dependencies.sh
lcd.py
lcdd.py

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.

  1. Start a server: ./lcdd.py --socket comm.sock --server --title "First line"

  2. 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%