Meadow.Foundation.FeatherWings.NeoPixelWing
NeoPixelWing | |
---|---|
Status | |
Source code | GitHub |
NuGet package |
Code Example
NeoPixelWing neoWing;
MicroGraphics graphics;
public override Task Initialize()
{
Console.WriteLine("Initializing ...");
neoWing = new NeoPixelWing(Device.CreateSpiBus());
graphics = new MicroGraphics(neoWing);
return Task.CompletedTask;
}
public override Task Run()
{
graphics.Clear();
graphics.DrawRectangle(0, 0, 8, 4, false);
graphics.Show();
return Task.CompletedTask;
}