Remarks

C8x8
Status Status badge: working
Source code GitHub
NuGet package NuGet 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

Characteristic Locus
Inheritance System.Object Max7219 > C8x8
Implements IGraphicsDisplay
Inherited Members Max7219.DefaultSpiBusSpeed Max7219.DigitsPerDevice Max7219.DeviceCount Max7219.DigitRows Max7219.DigitColumns Max7219.Length Max7219.SetNumber(Int32, Int32) Max7219.SetCharacter(Max7219.CharacterType, Int32, Boolean, Int32) Max7219.GetCharacter(Int32, Int32) Max7219.TestDisplay(TimeSpan) Max7219.SetMode(Max7219.Max7219Mode) Max7219.SetBrightness(Int32, Int32) Max7219.SetBrightness(Int32) Max7219.SetDigit(Byte, Int32, Int32) Max7219.GetDigit(Int32, Int32) Max7219.Show() Max7219.WriteBuffer(Byte[,]) Max7219.Clear(Int32, Int32) Max7219.ColorMode Max7219.SupportedColorModes Max7219.Width Max7219.Height Max7219.PixelBuffer Max7219.Show(Int32, Int32, Int32, Int32) Max7219.Clear() Max7219.Clear(Boolean) Max7219.DrawPixel(Int32, Int32, Color) Max7219.DrawPixel(Int32, Int32, Boolean) Max7219.InvertPixel(Int32, Int32) Max7219.Fill(Color, Boolean) Max7219.Fill(Int32, Int32, Int32, Int32, Color) Max7219.WriteBuffer(Int32, Int32, IPixelBuffer) Max7219.BitDepth Max7219.ByteCount Max7219.Buffer Max7219.Fill(Color) Max7219.GetPixel(Int32, Int32) Max7219.SetPixel(Int32, Int32, Color)
Namespace Meadow.Foundation.mikroBUS.Displays
Assembly C8x8.dll

Syntax

public class C8x8 : Max7219, IGraphicsDisplay

Constructors

C8x8(ISpiBus, IDigitalOutputPort)

Creates a new MikroBus 8x8 object

Declaration
public C8x8(ISpiBus spiBus, IDigitalOutputPort chipselectPort)

Parameters

Type Name Description
ISpiBus spiBus

SPI bus

IDigitalOutputPort chipselectPort

Chip select port

C8x8(ISpiBus, IPin)

Creates a new MikroBus 8x8 object

Declaration
public C8x8(ISpiBus spiBus, IPin chipSelectPin)

Parameters

Type Name Description
ISpiBus spiBus

SPI bus

IPin chipSelectPin

Chip select pin