Class Ws28xx
Represents base class for WS28XX LED drivers (i.e. WS2812B or WS2808).
public class Ws28xx
- Inheritance
-
Ws28xx
- Derived
Constructors
Ws28xx(SpiDevice, BitmapImage)
Initializes a new instance of the Ws28xx class.
public Ws28xx(SpiDevice spiDevice, BitmapImage image)
Parameters
spiDevice
SpiDeviceSPI device used for communication with the LED driver.
image
BitmapImageThe bitmap that represents the screen or led strip.
Fields
SpiDevice
SPI device used for communication with the LED driver.
protected readonly SpiDevice SpiDevice
Field Value
Properties
Image
Gets backing image to be updated on the driver.
public BitmapImage Image { get; }
Property Value
Methods
Update()
Sends backing image to the LED driver.
public void Update()