Skip to main content

Meadow.Foundation.Grove.Displays.4-DigitDisplay

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

Code Example

FourDigitDisplay display;

public override Task Initialize()
{
Resolver.Log.Info("Initializing ...");

display = new FourDigitDisplay(
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