Meadow.Foundation.Grove.Displays.FourDigitDisplay
4-DigitDisplay | |
---|---|
Status | |
Source code | GitHub |
NuGet package |
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
FourDigitDisplay | Meadow Pin |
---|---|
GND | GND |
VCC | 3.3V |
RX | D01 |
TX | D00 |