dotstar: Initial support for "dotstar" LEDs
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user