Class PixelBuf

  • All Implemented Interfaces:
    crackers.kobots.devices.lighting.WS2811

    
    public abstract class PixelBuf
     implements WS2811
                        

    A set of one or more WS2811 addressable-LEDs.

    A re-implementation of the "pure Python" Adafruit PixelBuf class, which is a re-implementation of the base Adafruit pixelbuf implementation.

    Note that some difference exist: for example, this relies on the base Java classes to represent colors vs the Python ColorUnion construct that allows for 3 different types of "colors".

    TODO dotStar implementation is probably incorrect - needs device to test with