Difference: UserManual (7 vs. 8)

Revision 82016-08-09 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="EWheelEn"
%DASHBOARD{ section="banner"
Line: 222 to 222
 show|set string upper|lower anystring show|set image upper|lower|bling number

Added:
>
>
set script number commands.. ;

show script number script start|test number script stop

 trip start|stop|pause|resume

test

Line: 254 to 262
  Es sind 20 Zeichen in 5x12, 14 Zeichen in 7x12, 12 Zeichen in 8x12 und 8 Zeichen in 12x16 Font darstellbar. Die verfügbaren Fonts sind 5x12 (0), 6x8 (1), 7x12 (2), 7x12b (3), 8x12 (4) und 12x16 (5). Der Default-Font ist 7x12b. Font ist innerhalb des Strings mit \f<nn> änderbar, z.B. \i00 für den kleinsten Font.
Added:
>
>

Scripts

Very simple script interpreter. Every line is interpreted by CLI except lines beginning with : (colon) or ; (semicolon). After reading a semicolon the script restarts from the beginning. A line has to be <= 80 chars long.

The script buffer is 800 bytes and shares the same memory for the images (dotmatrix). That means one buffer has room for about 50 command lines. If that is not enough then you can start another script buffer within the script.

Special Commands

:wait n
waits n seconds

:exit
aborts script

;
script end, restart script from beginning

Sample

CLI> set script 40
set string upper Hallo
set string lower Velo
set upper string
set lower string
:wait 10
set upper speed
set lower trip
:wait 10
;
CLI> show script 40
set string upper Hallo
set string lower Velo
set upper string
set lower string
:wait 10
set upper speed
set lower trip
:wait 10
;
CLI> script start 40
CLI> script stop
script stopped
 
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback