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 |
Class FourDigitDisplay
Represents a Four Digit Display Sensor
Assembly: 4-DigitDisplay.dll
View Source
Declaration
public class FourDigitDisplay : Tm1637, IDisposable
Inheritance: System.Object
-> Meadow.Foundation.Displays.Tm1637
Implements:
System.IDisposable
Implements
System.IDisposable