SenseHatLedMatrixI2c Class
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.
SenseHAT - LED matrix (I2C)
public class SenseHatLedMatrixI2c : Iot.Device.SenseHat.SenseHatLedMatrix
type SenseHatLedMatrixI2c = class
inherit SenseHatLedMatrix
Public Class SenseHatLedMatrixI2c
Inherits SenseHatLedMatrix
- Inheritance
Constructors
SenseHatLedMatrixI2c(I2cDevice) |
Constructs instance of SenseHatLedMatrixI2c |
Fields
I2cAddress |
Default I2C address |
NumberOfPixels |
Total number of pixels (Inherited from SenseHatLedMatrix) |
NumberOfPixelsPerColumn |
Number of pixels per column (Inherited from SenseHatLedMatrix) |
NumberOfPixelsPerRow |
Number of pixels per row (Inherited from SenseHatLedMatrix) |
Methods
Dispose() | System.Object.Dispose |
Fill(Color) |
Fill LED matrix with a specific color |
SetPixel(Int32, Int32, Color) |
Sets color on specific position of the LED matrix |
Write(ReadOnlySpan<Color>) |
Write colors to the device |