diff options
Diffstat (limited to 'docs/G-Codes.md')
-rw-r--r-- | docs/G-Codes.md | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/G-Codes.md b/docs/G-Codes.md index fef5680b..cf5f2784 100644 --- a/docs/G-Codes.md +++ b/docs/G-Codes.md @@ -191,17 +191,17 @@ The following command is available when an "output_pin" config section is enabled: - `SET_PIN PIN=config_name VALUE=<value>` -## Neopixel Commands +## Neopixel and Dotstar Commands -The following command is available when a "neopixel" config section -is enabled: -- `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. +The following command is available when "neopixel" or "dotstar" config +sections are enabled: +- `SET_LED LED=<config_name> INDEX=<index> RED=<value> GREEN=<value> + BLUE=<value>`: This sets the LED output. Each color <value> must be + between 0.0 and 1.0. If multiple LED chips are daisy-chained then + one may specify INDEX to alter the color of just the given chip (1 + for the first chip, 2 for the second, etc.). If INDEX is not + provided then all LEDs in the daisy-chain will be set to the + provided color. ## Servo Commands |