aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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')