]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2004-06-02 05:35:55 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Wed, 2 Jun 2004 05:35:55 +0000 (05:35 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Wed, 2 Jun 2004 05:35:55 +0000 (05:35 +0000)
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

index 5e92190b2dc40bf7872b2f4a4fa287ad0e3e0c77..c8ef7ed50e5269c985b00e2d7736f02c59af540b 100644 (file)
@@ -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')