Ws28xx Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Ws28xx(SpiDevice) |
Constructs Ws28xx instance |
Ws28xx(SpiDevice, BitmapImage) |
Constructs Ws28xx instance |
Ws28xx(SpiDevice, RawPixelContainer) |
Constructs Ws28xx instance |
Ws28xx(SpiDevice)
Constructs Ws28xx instance
public Ws28xx (System.Device.Spi.SpiDevice spiDevice);
new Iot.Device.Ws28xx.Ws28xx : System.Device.Spi.SpiDevice -> Iot.Device.Ws28xx.Ws28xx
Public Sub New (spiDevice As SpiDevice)
Parameters
- spiDevice
- SpiDevice
SPI device used for communication with the LED driver
Applies to
Ws28xx(SpiDevice, BitmapImage)
Constructs Ws28xx instance
public Ws28xx (System.Device.Spi.SpiDevice spiDevice, Iot.Device.Graphics.BitmapImage image);
new Iot.Device.Ws28xx.Ws28xx : System.Device.Spi.SpiDevice * Iot.Device.Graphics.BitmapImage -> Iot.Device.Ws28xx.Ws28xx
Public Sub New (spiDevice As SpiDevice, image As BitmapImage)
Parameters
- spiDevice
- SpiDevice
SPI device used for communication with the LED driver.
- image
- BitmapImage
The bitmap that represents the screen or led strip.
Applies to
Ws28xx(SpiDevice, RawPixelContainer)
Constructs Ws28xx instance
public Ws28xx (System.Device.Spi.SpiDevice spiDevice, Iot.Device.Ws28xx.RawPixelContainer image);
new Iot.Device.Ws28xx.Ws28xx : System.Device.Spi.SpiDevice * Iot.Device.Ws28xx.RawPixelContainer -> Iot.Device.Ws28xx.Ws28xx
Public Sub New (spiDevice As SpiDevice, image As RawPixelContainer)
Parameters
- spiDevice
- SpiDevice
SPI device used for communication with the LED driver.
- image
- RawPixelContainer
The bitmap that represents the screen or led strip.