aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux.conf.sample
diff options
context:
space:
mode:
Diffstat (limited to 'lcd4linux.conf.sample')
-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