Skip to main content

Class Tm1637

Represents Tm1637 segment display

Assembly: Tm1637.dll
View Source
Declaration
public class Tm1637 : IDisposable

Implements:
System.IDisposable

Properties

MAX_SEGMENTS

Max segments for a TM1637 controller

View Source
Declaration
public byte MAX_SEGMENTS { get; }

SegmentOrder

Order of segments

View Source
Declaration
public byte[] SegmentOrder { get; set; }

ScreenOn

Set the screen on or off

View Source
Declaration
public bool ScreenOn { get; set; }

Brightness

Adjust the screen brightness from 0 to 7

View Source
Declaration
public byte Brightness { get; set; }

IsDisposed

Is the object disposed

View Source
Declaration
public bool IsDisposed { get; }

Methods

Show(ReadOnlySpan<Character>)

Displays a series of prebuilt characters including the dot or not You can build your own characters with the primitives like Bottom, Top, Dot

View Source
Declaration
public void Show(ReadOnlySpan<Character> data)
Parameters
TypeNameDescription
System.ReadOnlySpan<Meadow.Foundation.Displays.Character>dataThe Character to display

Show(byte, Character)

Displays a raw data at a specific segment position from 0 to 5

View Source
Declaration
public void Show(byte index, Character character)
Parameters
TypeNameDescription
System.ByteindexThe segment position from 0 to 5
Meadow.Foundation.Displays.CharactercharacterThe segment characters to display

Clear()

Clear the display

View Source
Declaration
public void Clear()

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

View Source
Declaration
public void Dispose()

Dispose(bool)

Dispose of the object

View Source
Declaration
protected virtual void Dispose(bool disposing)
Parameters
TypeNameDescription
System.BooleandisposingIs disposing

Implements

  • System.IDisposable