diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-08-06 19:30:48 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-08-06 19:44:32 -0400 |
commit | 4c09d8bf029b5fac770fba9026c930805fd6ba32 (patch) | |
tree | 0934009be304aa1e0ac03bf0b67c69faa7b7e43d /docs | |
parent | c2a08962b79ccdb4b33b26becefa247506a7fd40 (diff) | |
download | kutter-4c09d8bf029b5fac770fba9026c930805fd6ba32.tar.gz kutter-4c09d8bf029b5fac770fba9026c930805fd6ba32.tar.xz kutter-4c09d8bf029b5fac770fba9026c930805fd6ba32.zip |
dotstar: Initial support for "dotstar" LEDs
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Config_Changes.md | 2 | ||||
-rw-r--r-- | docs/G-Codes.md | 20 |
2 files changed, 12 insertions, 10 deletions
diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md index 979b0967..28f20635 100644 --- a/docs/Config_Changes.md +++ b/docs/Config_Changes.md @@ -6,6 +6,8 @@ All dates in this document are approximate. # Changes +20190806: The SET_NEOPIXEL command has been renamed to SET_LED. + 20190726: The mcp4728 digital-to-analog code has changed. The default i2c_address is now 0x60 and the voltage reference is now relative to the mcp4728's internal 2.048 volt reference. 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 |