aboutsummaryrefslogtreecommitdiffstats
path: root/docs/G-Codes.md
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-07-17 19:58:37 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-07-23 21:59:38 -0400
commit46041f541158067206f29139df188dfa876e3763 (patch)
tree810b3a1f317c2bd19cddfecbaa30f79b24095984 /docs/G-Codes.md
parentabf3fa4b717ba655f0715e8ee9540afa48784d25 (diff)
downloadkutter-46041f541158067206f29139df188dfa876e3763.tar.gz
kutter-46041f541158067206f29139df188dfa876e3763.tar.xz
kutter-46041f541158067206f29139df188dfa876e3763.zip
neopixel: Add support for daisy-chained chips
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/G-Codes.md')
-rw-r--r--docs/G-Codes.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/G-Codes.md b/docs/G-Codes.md
index 78be3e72..fef5680b 100644
--- a/docs/G-Codes.md
+++ b/docs/G-Codes.md
@@ -195,9 +195,13 @@ is enabled:
The following command is available when a "neopixel" config section
is enabled:
-- `SET_NEOPIXEL NEOPIXEL=<config_name> RED=<value> GREEN=<value>
- BLUE=<value>`: This sets the neopixel LED output. Each <value> must
- be between 0.0 and 1.0.
+- `SET_NEOPIXEL NEOPIXEL=<config_name> INDEX=<index> RED=<value>
+ GREEN=<value> BLUE=<value>`: This sets the Neopixel LED output. Each
+ color <value> must be between 0.0 and 1.0. If multiple Neopixel
+ chips are daisy-chained then one may specify INDEX to alter the
+ color of just the given Neopixel chip (1 for the first Neopixel, 2
+ for the second, etc.). If INDEX is not provided then all Neopixels
+ in the daisy-chain will be set to the provided color.
## Servo Commands