mirror of https://github.com/arendst/Tasmota.git
Updated Scripting Language (markdown)
parent
8ec227d78f
commit
11ded04eab
|
@ -199,8 +199,8 @@ If you define a variable with the same name as a special variable that special v
|
||||||
`ws2812(array)` copies an array (defined with `m:vname`) to the WS2812 LED chain. The array length should be defined as long as the number of pixels. Color is coded as 24 bit RGB.
|
`ws2812(array)` copies an array (defined with `m:vname`) to the WS2812 LED chain. The array length should be defined as long as the number of pixels. Color is coded as 24 bit RGB.
|
||||||
`hsvrgb(h s v)` converts hue (0..360), saturation (0..100) and value (0..100) to RGB color
|
`hsvrgb(h s v)` converts hue (0..360), saturation (0..100) and value (0..100) to RGB color
|
||||||
|
|
||||||
`#name` names a subroutine, subroutines are called with `=#name`
|
`#name` names a subroutine. Subroutine is called with `=#name`
|
||||||
`#name(param)` names a subroutines with a parameter is called with `=#name(param)`
|
`#name(param)` names a subroutine with a parameter. Subroutine is called with `=#name(param)`
|
||||||
Subroutines end with the next `#` or `>` line or break. May be nested
|
Subroutines end with the next `#` or `>` line or break. May be nested
|
||||||
Parameters can be numbers or strings and on mismatch are converted
|
Parameters can be numbers or strings and on mismatch are converted
|
||||||
`=(svar)`executes a script in a string variable (dynamic or self modifying code)
|
`=(svar)`executes a script in a string variable (dynamic or self modifying code)
|
||||||
|
|
Loading…
Reference in New Issue