HD44780 update:

- supports new API
- major clean up, more consistent code
- uses configfile options
- serialLpt works also with only 2 output lines
- serialLpt can now use keypad
This commit is contained in:
robijn
2001-11-01 00:37:12 +00:00
parent 0619f03774
commit faa4861eb3
9 changed files with 786 additions and 494 deletions
+28 -11
View File
@@ -37,8 +37,8 @@
[server]
# Server section with all kinds of settings for the LCDd server
Driver=HD44780
#Driver=curses
Driver=curses
#Driver=HD44780
#Driver=MtxOrb
#
# Tells the server to load the given drivers. Multiple lines can be given.
@@ -46,7 +46,7 @@ Driver=HD44780
Bind=127.0.0.1
# Tells the driver to bind to the given interface
Port=3777
Port=13666
# Listen on this specified port; defaults to 13666.
#Debug=5
@@ -59,10 +59,10 @@ User=nobody
# User to run as. LCDd will drop its root priviledges,
# if any, and run as this user instead.
EnableServerScreen=yes
ServerScreen=no
# Enables the server screen also when other screens are active.
Foreground=no
Foreground=yes
# The server will stay in the foreground if set to true.
@@ -94,13 +94,30 @@ Arguments="-d /dev/ttyS0 -t 20x2 -c 120"
# Hitachi HD44780 driver
# See docs/hd44780_howto.txt
Arguments="-p 0x378 -c 4bit -k -b"
Port=0x378
# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
# Meaning:
# -p <port> Use the given port
# -c <ct> Use the given connectiontype
# -k Keypad support
# -b Backlight support
ConnectionType=4bit
# Select what type of connection. See documentation for types.
Keypad=no
# If you have a keypad connected. Keypad layout is currently not
# configureable from the config file.
Backlight=no
# If you have a switchable backlight.
Size=20x4
# Specifies the size of the LCD.
# In case of multiple combined displays, this should be the total size.
#vspan=1,2
# For multiple displays: at what 'logical' lines do the individual displays
# start.
#extended=yes
# If you want to use more than 3 HD44780 controllers on the LPT, you need to
# specify this. See documentation.
[LB216]