Table of Contents

Class Ws2815b

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

Represents WS2815B LED driver.

public class Ws2815b : Ws28xx
Inheritance
Ws2815b
Inherited Members

Constructors

Ws2815b(SpiDevice, int, int)

Initializes a new instance of the Ws2815b class.

public Ws2815b(SpiDevice spiDevice, int width, int height = 1)

Parameters

spiDevice SpiDevice

SPI device used for communication with the LED driver.

width int

Width of the screen or LED strip.

height int

Height of the screen or LED strip. Defaults to 1 (LED strip).

Remarks

In contrast to Ws2812b this constructor changes the order of the color values.