aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-20 15:32:49 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-20 15:32:49 +0000
commitd29b8c45e95d99709234fb6632574d38fa472321 (patch)
tree811d8fc7e4d57b9874599653185e1487cea4c5d2 /lcd4linux.c
parentd198bf228c98434578920e7301fb9edf13a37d3b (diff)
downloadlcd4linux-d29b8c45e95d99709234fb6632574d38fa472321.tar.gz
[lcd4linux @ 2004-01-20 15:32:48 by reinelt]
first version of Next Generation HD44780 (untested! but it compiles...) some cleanup in the other drivers git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@327 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r--lcd4linux.conf.sample25
1 files changed, 18 insertions, 7 deletions
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample
index 029e94c..37beb54 100644
--- a/lcd4linux.conf.sample
+++ b/lcd4linux.conf.sample
@@ -2,11 +2,27 @@ Display LK204 {
Driver 'MatrixOrbital'
Model 'LK204-24-USB'
Port '/dev/usb/tts/0'
-# Port '/dev/tts/0'
+# Port '/dev/tts/0'
Speed 19200
Contrast 256/2
}
+
+Display myHD44780 {
+ Driver 'HD44780'
+ Port '/dev/parports/0'
+# Port '0x378'
+ Bits '8'
+ Size '20x4'
+ Wire {
+ RW 'GND'
+ RS 'AUTOFD'
+ ENABLE 'STROBE'
+ GPO 'INIT'
+ }
+}
+
+
Widget OS {
class 'Text'
expression '*** '.uname('sysname').' '.uname('release').' ***'
@@ -95,14 +111,9 @@ Layout Default {
}
-Display 'LK204'
+Display 'myHD44780'
Layout 'Default'
-#Row1 "*** %o %v ***"
-#Row2 "%p CPU %r MB RAM"
-#Row3 "Busy %cb%% $r10cs+cb"
-#Row4 "Load%l1%L$r10l1"
-
Variables {
tick 500
tack 100