Skip to main content

Meadow.Foundation.mikroBUS.Displays.C8x8

C8x8
StatusStatus badge: working
Source codeGitHub
NuGet packageNuGet Gallery for Meadow.Foundation.mikroBUS.Displays.C8x8

Code Example

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();
}
}
}

Sample project(s) available on GitHub

Class C8x8

Represents a mikroBUS 8x8 Click board

Assembly: C8x8.dll
View Source
Declaration
public class C8x8 : Max7219, ISpiPeripheral, IDisposable, IPixelDisplay, IDisplay, IPixelBuffer

Inheritance: System.Object -> Meadow.Foundation.Displays.Max7219

Implements:
Meadow.Hardware.ISpiPeripheral, System.IDisposable, Meadow.Peripherals.Displays.IPixelDisplay, Meadow.Peripherals.Displays.IDisplay, Meadow.Peripherals.Displays.IPixelBuffer

Implements

  • Meadow.Hardware.ISpiPeripheral
  • System.IDisposable
  • Meadow.Peripherals.Displays.IPixelDisplay
  • Meadow.Peripherals.Displays.IDisplay
  • Meadow.Peripherals.Displays.IPixelBuffer