mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
[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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user