Characteristic Locus
Inheritance System.Object > Ht16k33
Namespace Meadow.Foundation.ICs.IOExpanders
Assembly Ht16k33.dll

Syntax

public class Ht16k33 : object

Constructors

Ht16k33(II2cBus, Byte)

Create a new HT16K33 object using the default parameters

Declaration
public Ht16k33(II2cBus i2cBus, byte address = null)

Parameters

Type Name Description
II2cBus i2cBus

I2C bus instance

System.Byte address

Address of the bus on the I2C display.

Methods

ClearDisplay()

Declaration
public void ClearDisplay()

IsLedOn(Int32)

Declaration
public bool IsLedOn(int ledIndex)

Parameters

Type Name Description
System.Int32 ledIndex

Returns

Type Description
System.Boolean

SetBlinkRate(Ht16k33.BlinkRate)

Declaration
public void SetBlinkRate(Ht16k33.BlinkRate blinkRate)

Parameters

Type Name Description
Ht16k33.BlinkRate blinkRate

SetBrightness(Ht16k33.Brightness)

Declaration
public void SetBrightness(Ht16k33.Brightness brightness)

Parameters

Type Name Description
Ht16k33.Brightness brightness

SetDisplayOn(Boolean)

Declaration
public void SetDisplayOn(bool isOn)

Parameters

Type Name Description
System.Boolean isOn

SetIsAwake(Boolean)

Declaration
public void SetIsAwake(bool awake)

Parameters

Type Name Description
System.Boolean awake

SetLed(Byte, Boolean)

Declaration
public void SetLed(byte ledIndex, bool ledOn)

Parameters

Type Name Description
System.Byte ledIndex
System.Boolean ledOn

ToggleLed(Byte)

Declaration
public void ToggleLed(byte ledIndex)

Parameters

Type Name Description
System.Byte ledIndex

UpdateDisplay()

Declaration
public void UpdateDisplay()