mirror of
https://github.com/arendst/Tasmota.git
synced 2026-03-10 17:28:14 +01:00
Updated Scripting Language (markdown)
@@ -194,7 +194,7 @@ If you define a variable with the same name as a special variable that special v
|
||||
`spin(x b)` set GPIO `x` (0..16) to value `b` (0,1). Only bit 0 of `b` is used - even values set the GPIO to `0` and uneven values set the GPIO to `1`
|
||||
`spinm(x m)` set GPIO `x` (0..16) to mode `m` (input=0, output=1, input with pullup=2)
|
||||
`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(param)` names a subroutines with a parameter is called with `=#name(param)`
|
||||
|
||||
Reference in New Issue
Block a user