Ws2812b(SpiDevice, Int32, Int32) Constructor
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for