Meadow.Foundation.mikroBUS.Displays.C8x8
C8x8 | |
---|---|
Status | |
Source code | GitHub |
NuGet package |
Code Example
readonly C8x8 c8x8;
public MeadowApp()
{
Console.WriteLine("Initializing ...");
c8x8 = new C8x8(Device.CreateSpiBus(), Device.Pins.D14);
var graphics = new MicroGraphics(c8x8)
{
IgnoreOutOfBoundsPixels = true,
Rotation = RotationType._270Degrees
};
graphics.CurrentFont = new Font4x8();
var message = "Wilderness Labs Meadow F7 Feather";
while (true)
{
for (int x = 0; x < message.Length * 4; x++)
{
graphics.Clear();
graphics.DrawText(0 - x, 1, message);
graphics.Show();
}
}
}