Skip to main content

Meadow.Foundation.Grove.Displays.FourDigitDisplay

4-DigitDisplay
StatusStatus badge: working
Source codeGitHub
NuGet packageNuGet Gallery for Meadow.Foundation.Grove.Displays.4DigitDisplay

Code Example

FourDigitDisplay display;

public override Task Initialize()
{
    Console.WriteLine("Initializing ...");

    display = new FourDigitDisplay(
        device: Device, 
        pinClock: Device.Pins.D02,
        pinData: Device.Pins.D01) 
    { 
        Brightness = 7,
        ScreenOn = true
    };

    return Task.CompletedTask;
}

public override Task Run()
{
    display.Clear();

    var chars = new Character[] { Character.A, Character.B, Character.C, Character.D };

    display.Show(chars);

    return Task.CompletedTask;
}

Sample project(s) available on GitHub

Wiring Example

FourDigitDisplayMeadow Pin
GNDGND
VCC3.3V
RXD01
TXD00

Class FourDigitDisplay

Represents a Four Digit Display Sensor

Assembly: 4DigitDisplay.dll
View Source
public class FourDigitDisplay : Tm1637, IDisposable

Inheritance: System.Object -> Meadow.Foundation.Displays.Tm1637

Implements:
System.IDisposable

Implements

  • System.IDisposable