aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux.conf.sample
diff options
context:
space:
mode:
authorreinelt <>2004-06-13 01:12:52 +0000
committerreinelt <>2004-06-13 01:12:52 +0000
commitdeb18c9a768be9c80a592fc9038d6f51463541b4 (patch)
tree3700842c837ef64b9ad0bce6a366d489eb6ef369 /lcd4linux.conf.sample
parentff4e71baa9ef3ef7cb998f1700113c2d868bb08f (diff)
downloadlcd4linux-deb18c9a768be9c80a592fc9038d6f51463541b4.tar.gz
[lcd4linux @ 2004-06-13 01:12:52 by reinelt]
debug widgets changed (thanks to Andy Baxter)
Diffstat (limited to 'lcd4linux.conf.sample')
-rw-r--r--lcd4linux.conf.sample37
1 files changed, 24 insertions, 13 deletions
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample
index 9e2235c..774c451 100644
--- a/lcd4linux.conf.sample
+++ b/lcd4linux.conf.sample
@@ -324,33 +324,44 @@ Widget Uptime {
# debugging widgets
-Widget OnOffTest1 {
- class 'Text'
- expression '....................'
- width 20
- visible onofftest('0')
- align 'L'
- update 2000
-}
-
Widget BarTest {
class 'Bar'
- expression bartest(0,200,100,1)
- expression2 100
+ # test::bar(barno,maxval,startval,delta) - move a test value between 0 and max.
+ # delta= step to change value by each time it's read.
+ # barno - ten different test bar values can be set up, with barno=0..9
+ # if delta=0, just returns the value of bar n instead of changing it.
+ expression test::bar(0,100,50,1)
+ expression2 test::bar(1,100,0,1)
length 10
- max 200
+ max 100
direction 'E'
update 200
}
Widget BarTestVal {
class 'Text'
- expression bartest(0,200,100,0)
+ expression test::bar(0,100,50,0)
prefix 'Test '
width 9
update 200
}
+Widget LightningTest {
+ class 'icon'
+ speed 500
+ visible test::onoff(0)
+ bitmap {
+ row1 '...***'
+ row2 '..***.'
+ row3 '.***..'
+ row4 '.****.'
+ row5 '..**..'
+ row6 '.**...'
+ row7 '**....'
+ row8 '*.....'
+ }
+}
+
# Icons