
dmx_master.setChannelValue(channelNum
ber + BLUE, blue);
dmx_master.setChannelValue(channelNum
ber + WHITE, white);
}
This manually takes the lamp number and
determines the channel spacing based on the
offsets, then applies the RGB-W value you
assigned. You can use something like this to
manually set each pixel, but it’s not ideal for
mimicking your favorite patterns if you don’t want
to write new ones.
Fortunately there are two functions, setPixel
and showPixels, that parallel those in the
Adafruit NeoPixel library. NeoPixels use a buffer-
style system that sets lights, then shows them. So
I’ve had to replicate that with those two functions: ...