aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-02 05:35:55 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-02 05:35:55 +0000
commita4cd5b8283d5ae7788091f9670e0a5165fcef136 (patch)
tree5752d67b84241bded853ffd0eeaf74239d7ddb69
parent21d19e4dbe9a3a1f724a1963d13af21004a06e55 (diff)
downloadlcd4linux-a4cd5b8283d5ae7788091f9670e0a5165fcef136.tar.gz
[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
Diffstat (limited to '')
-rw-r--r--lcd4linux.conf.sample20
1 files changed, 20 insertions, 0 deletions
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')