aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drv_BeckmannEgle.c13
-rw-r--r--lcd4linux.conf.sample10
2 files changed, 19 insertions, 4 deletions
diff --git a/drv_BeckmannEgle.c b/drv_BeckmannEgle.c
index dac34e6..f17072f 100644
--- a/drv_BeckmannEgle.c
+++ b/drv_BeckmannEgle.c
@@ -1,4 +1,4 @@
-/* $Id: drv_BeckmannEgle.c,v 1.12 2004/06/29 04:49:30 reinelt Exp $
+/* $Id: drv_BeckmannEgle.c,v 1.13 2004/07/14 04:44:44 reinelt Exp $
*
* driver for Beckmann+Egle "Mini Terminals" and "Compact Terminals"
* Copyright 2000 Michael Reinelt <reinelt@eunet.at>
@@ -22,6 +22,11 @@
*
*
* $Log: drv_BeckmannEgle.c,v $
+ * Revision 1.13 2004/07/14 04:44:44 reinelt
+ *
+ * Beckmann+Egle fix
+ * added smaple widget for the PPP plugin
+ *
* Revision 1.12 2004/06/29 04:49:30 reinelt
*
* B+E enhanced port detection
@@ -201,13 +206,13 @@ static void drv_BuE_MT_defchar (const int ascii, const unsigned char *matrix)
static void drv_BuE_CT_write (const int row, const int col, const char *data, const int len)
{
- char cmd[] = ESC "LCzs1";
-
+ char cmd[] = ESC "LCzs\001";
cmd[3] = (char)row + 1;
cmd[4] = (char)col + 1;
-
+
drv_generic_serial_write (cmd, 6);
drv_generic_serial_write (data, len);
+
}
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample
index e68f345..aa25a9e 100644
--- a/lcd4linux.conf.sample
+++ b/lcd4linux.conf.sample
@@ -285,6 +285,16 @@ Widget Eth0Bar {
update tack
}
+Widget PPP {
+ class 'Text'
+ expression (ppp('Rx:0', 500)+ppp('Tx:0', 500))
+ prefix 'PPP'
+ width 9
+ precision 0
+ align 'R'
+ update tick
+}
+
Widget Temp {
class 'Text'
expression i2c_sensors('temp_input3')*1.0324-67