Edit

Share via


Ws2812b(SpiDevice, Int32, Int32) Constructor

Definition

Constructs Ws2812b instance

public Ws2812b (System.Device.Spi.SpiDevice spiDevice, int width, int height = 1);
new Iot.Device.Ws28xx.Ws2812b : System.Device.Spi.SpiDevice * int * int -> Iot.Device.Ws28xx.Ws2812b
Public Sub New (spiDevice As SpiDevice, width As Integer, Optional height As Integer = 1)

Parameters

spiDevice
SpiDevice

SPI device used for communication with the LED driver

width
Int32

Width of the screen or LED strip

height
Int32

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

Applies to