Update a single pixel in the WS2812 chain and optionally refresh the chain.
Ws2812WriteOnePixel(unsigned short pixelIndex, unsigned char red, unsigned char green, unsigned char blue, unsigned char refresh);
pixelIndex The index of the WS2812 to update. For example 0 will update the first LED in the chain.
red The red value 0-255.
green The green value 0-255.
blue The blue value 0-255.
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