_pixelbuf — Fast RGB(W) pixel buffer and helpers

The _pixelbuf module provides the PixelBuf class to accelerate RGB(W) strip/matrix manipulation, such as DotStar and Neopixel.

Byteorders are configured with strings, such as “RGB” or “RGBD”. TODO: Pull in docs from pypixelbuf. Libraries

_pixelbuf.wheel(n)

C implementation of the common wheel() function found in many examples. Returns the colorwheel RGB value as an integer value for n (usable in PixelBuf, neopixel, and dotstar).