From ce771abd30c19279ec9ca93aed64ff2e71610af2 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Fri, 16 Aug 2019 08:08:42 -0400 Subject: [PATCH] Updated Scripting Language (markdown) --- Scripting-Language.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripting-Language.md b/Scripting-Language.md index 8f16aaf7..e4b609b8 100644 --- a/Scripting-Language.md +++ b/Scripting-Language.md @@ -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)`