[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
This commit is contained in:
reinelt
2004-06-02 05:35:55 +00:00
parent 21d19e4dbe
commit a4cd5b8283

View 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')