Class Ws2812c
Represents WS2815B LED driver.
public class Ws2812c : Ws28xx
- Inheritance
-
Ws2812c
- Inherited Members
Constructors
Ws2812c(int, int, int)
Initializes a new instance of the Ws2812c class.
public Ws2812c(int gpioPin, int width, int height = 1)
Parameters
gpioPin
intThe GPIO pin used for communication with the LED driver.
width
intWidth of the screen or LED strip.
height
intHeight 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.