From a4cd5b8283d5ae7788091f9670e0a5165fcef136 Mon Sep 17 00:00:00 2001 From: reinelt Date: Wed, 2 Jun 2004 05:35:55 +0000 Subject: [lcd4linux @ 2004-06-02 05:35:55 by reinelt] added i2c_sensors example to lcd4linux.conf.sample git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@459 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- lcd4linux.conf.sample | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample index 5e92190..c8ef7ed 100644 --- a/lcd4linux.conf.sample +++ b/lcd4linux.conf.sample @@ -274,6 +274,26 @@ Widget Eth0Bar { update tack } +Widget Temp { + class 'Text' + expression i2c_sensors('temp_input3')*1.0324-67 + prefix 'Temp' + width 9 + precision 1 + align 'R' + update tick +} + +Widget TempBar { + class 'Bar' + expression i2c_sensors('temp_input3')*1.0324-67 + min 40 + max 80 + length 10 + direction 'E' + update tack +} + Widget MySQLtest1 { class 'Text' expression MySQL::query('SELECT id FROM table1') -- cgit v1.2.3