docs: add status documentaton for neopixel and dotstar

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2021-06-10 06:41:45 -04:00 committed by KevinOConnor
parent 7ced62ab9c
commit 8bcfaa53aa
1 changed files with 9 additions and 0 deletions

View File

@ -346,3 +346,12 @@ The following information is available in the `z_tilt` object (this
object is available if z_tilt is defined): object is available if z_tilt is defined):
- `applied`: True if the z-tilt leveling process has been run and completed - `applied`: True if the z-tilt leveling process has been run and completed
successfully. successfully.
# neopixel / dotstar
The following information is available for each `[neopixel led_name]` and
`[dotstar led_name]` defined in printer.cfg:
- `color_data`: An array of objects, with each object containing the RGBW
values for a led in the chain. Note that not all configurations will contain
a white value. Each value is represented as a float from 0 to 1. For
example, the blue value of the second neopixel in a chain could be accessed
at `printer["neopixel <config_name>"].colordata[1].B`.