Meadow.Foundation.FeatherWings.LedMatrix8x16Wing
LedMatrix8x16Wing | |
---|---|
Status | |
Source code | GitHub |
NuGet package |
Code Example
LedMatrix8x16Wing ledMatrixWing;
MicroGraphics graphics;
public override Task Initialize()
{
Console.WriteLine("Initializing ..");
ledMatrixWing = new LedMatrix8x16Wing(Device.CreateI2cBus());
ledMatrixWing.Clear();
graphics = new MicroGraphics(ledMatrixWing)
{
Rotation = RotationType._90Degrees,
CurrentFont = new Font4x8()
};
return Task.CompletedTask;
}
public override Task Run()
{
graphics.Clear();
graphics.DrawText(0, 0, "M F7");
graphics.Show();
return Task.CompletedTask;
}