Table of Contents

Class Ws28xx

Namespace
Iot.Device.Ws28xx
Assembly
Iot.Device.Ws28xx.dll

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 SpiDevice

SPI device used for communication with the LED driver.

image BitmapImage

The 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

SpiDevice

Properties

Image

Gets backing image to be updated on the driver.

public BitmapImage Image { get; }

Property Value

BitmapImage

Methods

Update()

Sends backing image to the LED driver.

public void Update()