forked from ukoda/lcd4linux-ax206
-
-
Notifications
You must be signed in to change notification settings - Fork 0
widget_timer
Alejandro Mora edited this page Mar 9, 2026
·
1 revision
Timer widgets are special widgets that do nothing except being called at a regular basis. Their expression is evaluated (if the active expression is not zero), the result is discarded. But you can set variables in this expression, and call functions that do something useful (e.g. setting contrast or backlight).
Here's the definition of a timer widget:
Widget <name> {
class 'Timer'
expression <string>
active <number>
update <number>
}
| expression | main expression |
|---|---|
| active | timer is active if != 0 |
| update | update interval (msec) |
Note that the update and active expressions are evaluated every time the timer is called, sou you can modify the values at runtime.
sorry, no examples yet...
The official LCD4Linux(AX206) Wiki
Back from the dead!
Back from the dead!
Documentation
Developers
Resources
Legacy (0.9)
AX206 Fork