Table of Contents

Class Ws2808

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

Represents WS2808 LED driver.

public class Ws2808 : Ws28xx
Inheritance
Ws2808
Inherited Members

Constructors

Ws2808(int, int, int)

Initializes a new instance of the Ws2808 class.

public Ws2808(int gpioPin, int width, int height = 1)

Parameters

gpioPin int

The GPIO pin 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).