color-n-pixels

gabbapeople/christmas-tree/color-n-pixels

Colors a group of N LEDs in the selected color. Specify the start LED number of the group using the STRT pin. Specify the orderliness of a group at the STEP pin.
color-n-pixels
@/color-n-pixels
Colors a group of N LEDs in the selected color. Specify the start LED number of the group using the STRT pin. Specify the orderliness of a group at the STEP pin.
IN@/ws2811
STRTnumber
Start LED number
Nnumber
Number of LEDs to color after the start LED
STEPnumber
Number of LEDs to color after the start LED
CLRxod/color/color
SETpulse
Triggers a new color set
color-n-pixels
IN
OUT
STRT
N
STEP
CLR
SET
DONE
DONEpulse
Fires when set is done
OUT@/ws2811
To use the node in your project you should have the gabbapeople/christmas-tree library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.