Matrix Orbital LCD Display LK204-25-USB on lcdproc
Jump to navigation
Jump to search
1 install lcdproc
yum install lcdproc
2 configure server
- vi /etc/sysconfig/lcdproc/LCDd.conf
[server] DriverPath=/usr/lib/lcdproc/ Driver=MtxOrb Bind=127.0.0.1 Port=13666 #ReportLevel=3 ReportToSyslog=yes User=nobody Foreground=no Heartbeat=off Hello="" GoodBye="" WaitTime=10 ServerScreen=blank #Backlight=open #TitleSpeed=10 [MtxOrb] Device=/dev/ttyUSB0 Size=20x4 Type=lkd Contrast=480 hasAdjustableBacklight=yes Brightness=300 OffBrightness=0 Speed=19200 keypad_test_mode=no
chkconfig LCDd on service LCDd restart
3 python test script
curl http://bitbull.ch/dl/scripts/lcdproc_client.py > /usr/local/bin/lcd.py