-/* $Id: drv_serdisplib.c,v 1.4 2005/05/12 14:55:47 reinelt Exp $
+/* $Id: drv_serdisplib.c,v 1.5 2005/05/28 09:06:14 reinelt Exp $
*
* driver for serdisplib displays
*
*
*
* $Log: drv_serdisplib.c,v $
+ * Revision 1.5 2005/05/28 09:06:14 reinelt
+ * serdisplib cosmetics
+ *
* Revision 1.4 2005/05/12 14:55:47 reinelt
* plugins for serdisplib driver
*
drv_SD_contrast(contrast);
}
- if (cfg_number(section, "BACKLIGHT", 0, 0, 1, &backlight) > 0) {
+ if (cfg_number(section, "Backlight", 0, 0, 1, &backlight) > 0) {
drv_SD_backlight(backlight);
}
- if (cfg_number(section, "REVERSE", 0, 0, 1, &reverse) > 0) {
+ if (cfg_number(section, "Reverse", 0, 0, 1, &reverse) > 0) {
drv_SD_reverse(reverse);
}
- if (cfg_number(section, "ROTATE", 0, 0, 3, &rotate) > 0) {
+ if (cfg_number(section, "Rotate", 0, 0, 3, &rotate) > 0) {
drv_SD_rotate(rotate);
}
Driver 'HD44780'
Model 'generic'
Port '/dev/parports/0'
- Size '20x4'
- asc255bug 1
+ Size '8x2'
+ asc255bug 0
Wire {
RW 'GND'
RS 'AUTOFD'
expression proc_stat::cpu('busy', 500)
prefix 'Busy'
postfix '%'
- width 10
+ width 8
precision 1
align 'R'
update tick
# if delta=0, just returns the value of bar n instead of changing it.
expression test::bar(0,30,25,1)
expression2 test::bar(1,30,0,1)
- length 6
- max 50
+ length 8
+ # max 50
direction 'E'
update 10
}
}
}
+Layout L8x2 {
+ Row1 {
+ Col1 'Busy'
+ }
+ Row2 {
+ Col1 'BarTest'
+ }
+}
+
Layout L16x2 {
Row1 {
Col1 'Busy'
#Col11 'DiskBar'
Col11 'BarTest'
}
-# Row2 {
-# Col1 'Heartbeat'
-# Col2 'EKG'
-# Col3 'Karo'
-# Col4 'Heart'
-# Col5 'Blob'
-# Col6 'Wave'
-# Col7 'Squirrel'
-# }
}
Layout L20x2 {
}
-Display 'SerDispLib'
+#Display 'SerDispLib'
#Display 'LCD-Linux'
#Display 'LK204'
#Display 'MI240'
#Display 'CW12232'
-#Display 'HD44780-generic'
+Display 'HD44780-generic'
#Display 'SC1602D'
#Display 'LCM-162'
#Display 'CF631'
#Display 'Trefon'
#Layout 'Default'
-Layout 'L16x2'
+Layout 'L8x2'
+#Layout 'L16x2'
#Layout 'L20x2'
#Layout 'Test'