Update an arbitrary number of consecutive WS2812 lights in a chain.
Ws2812WriteNPixels(unsigned short startPixel, unsigned short numPixels, unsigned char* data, unsigned char refresh);
startPixel The index of the first WS2812 to update.
numPixels The number of consecutive pixels to update.
data A pointer to an unsigned byte array containing the new RGB values of the WS2812s to update.
refresh Refresh the light chain.
int status
Ws2812Open()
Ws2812WriteOnePixel()
Ws2812WriteNPixels()
Ws2812Refresh()
Ws2812Close()
Firmware Reference
~
There was an error while loading. Please reload this page.
Home
Getting Started
Tutorials
FAQ
Pinouts
VI Reference
Specification Reference