Edit

Share via


SenseHatLedMatrixI2c Class

Definition

SenseHAT - LED matrix (I2C)

public class SenseHatLedMatrixI2c : Iot.Device.SenseHat.SenseHatLedMatrix
type SenseHatLedMatrixI2c = class
    inherit SenseHatLedMatrix
Public Class SenseHatLedMatrixI2c
Inherits SenseHatLedMatrix
Inheritance
SenseHatLedMatrixI2c

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

Applies to