Large4Digit7SegmentDisplay Class

Definition

Adafruit 1.2" 4-Digit 7-Segment Display w/I2C Backpack

public class Large4Digit7SegmentDisplay : Iot.Device.Display.Ht16k33, Iot.Device.Display.ISevenSegmentDisplay
type Large4Digit7SegmentDisplay = class
    inherit Ht16k33
    interface ISevenSegmentDisplay
Public Class Large4Digit7SegmentDisplay
Inherits Ht16k33
Implements ISevenSegmentDisplay
Inheritance
Large4Digit7SegmentDisplay
Implements

Remarks

Comes in yellow, green and red colors: https://www.adafruit.com/product/1268 https://www.adafruit.com/product/1269 https://www.adafruit.com/product/1270 Sources: https://github.com/adafruit/Adafruit_LED_Backpack/blob/master/Adafruit_LEDBackpack.cpp https://github.com/sobek1985/Adafruit_LEDBackpack/blob/master/Adafruit_LEDBackpack/AlphaNumericFourCharacters.cs

Constructors

Large4Digit7SegmentDisplay(I2cDevice)

Initialize 7-Segment display

Fields

_bufferingEnabled

Buffering enabled

(Inherited from Ht16k33)
_i2cDevice

I2C device interface

(Inherited from Ht16k33)
DefaultI2cAddress

HT16K33 default I2C address

(Inherited from Ht16k33)
MaxBrightness

Maximum level of brightness

(Inherited from Ht16k33)

Properties

BlinkRate

Gets or sets display blink rate, also turns on display if turned off

(Inherited from Ht16k33)
Brightness

Gets or sets level of display brightness

(Inherited from Ht16k33)
BufferingEnabled

Gets or sets whether buffering is enabled

(Inherited from Ht16k33)
DisplayOn

Sets screen on/off

(Inherited from Ht16k33)
Dots

Gets or sets dot configuration

Item[Int32]

Gets or sets a single digit's segments by id

NumberOfDigits

Gets the number of digits supported by the display

Methods

AutoFlush()

Calls Flush() if BufferingEnabled is false

(Inherited from Ht16k33)
Clear()

Clear display buffer

Dispose() (Inherited from Ht16k33)
Flush()

Flush buffer to display

Write(Int32, Alignment)

Write integer value as decimal digits

Write(ReadOnlySpan<Byte>, Int32)

Write raw data to display buffer

Write(ReadOnlySpan<Font>, Int32)

Write a series of characters to the display buffer

Write(ReadOnlySpan<Segment>, Int32)

Write a series of digits to the display buffer

Write(String, Alignment)

Write string value to display

Applies to