Skip to content

Instantly share code, notes, and snippets.

@dglaude
Created July 21, 2016 07:50
Show Gist options
  • Save dglaude/a14e19763a0bb43fa2bc7ca3bd0e029a to your computer and use it in GitHub Desktop.
Save dglaude/a14e19763a0bb43fa2bc7ca3bd0e029a to your computer and use it in GitHub Desktop.
## Server section with all kinds of settings for the LCDd server ##
[server]
DriverPath=/usr/local/lib/lcdproc/
Driver=hd44780
Bind=127.0.0.1
Port=13666
User=pi
#Foreground=yes
# Hello message: each entry represents a display line; default: builtin
Hello=" welcome message "
Hello=" Good to see this "
# GoodBye message: each entry represents a display line; default: builtin
GoodBye=" Goodbey message "
GoodBye=" try lcdproc client "
# Sets the default time in seconds to displays a screen.
WaitTime=5
# set title scrolling speed [default: 10; legal: 0-10]
TitleSpeed=1
## The menu section. The menu is an internal LCDproc client. ##
[menu]
## Hitachi HD44780 driver ##
[HD44780]
ConnectionType=i2c
#You can detect the i2c bus available with: 'i2cdetect -l'
#Use the output of follwing commande: 'ls /dev/i2c*'
Device=/dev/i2c-1
#You need to know the address of your LCD on the i2c bus
#You can list all the device on the i2c bus with: 'i2cdetect -y 1'
Port=0x27
Backlight=yes
Size=20x4
DelayBus=false
DelayMult=1
Keypad=no
Speed=0
Backlight=yes
BacklightInvert=yes
#This wiring works with lcd20 from Rasp.iO: http://rasp.io/duino/lcd20/
i2c_line_RS=0x01
i2c_line_RW=0x02
i2c_line_EN=0x04
i2c_line_BL=0x08
i2c_line_D4=0x10
i2c_line_D5=0x20
i2c_line_D6=0x40
i2c_line_D7=0x80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment