Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Characteristic Locus
Inheritance object > LedMatrix8x16Wing
Implements IGraphicsDisplay IPixelBuffer
Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString()
Namespace Meadow.Foundation.FeatherWings
Assembly LedMatrix8x16Wing.dll

Syntax

public class LedMatrix8x16Wing : IGraphicsDisplay, IPixelBuffer

Constructors

LedMatrix8x16Wing(II2cBus, byte)

Creates a LedMatrix8x16Wing driver

Declaration
public LedMatrix8x16Wing(II2cBus i2cBus, byte address = 112)

Parameters

Type Name Description
II2cBus i2cBus

The I2CBus used by the CharlieWing

byte address

The I2C address

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Properties

BitDepth

The bit depth of the display

Declaration
public int BitDepth { get; }

Property Value

Type Description
int

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Buffer

The backing buffer for the pixel buffer (not implemented)

Declaration
public byte[] Buffer { get; }

Property Value

Type Description
byte[]

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

ByteCount

The total bytes used for the display buffer

Declaration
public int ByteCount { get; }

Property Value

Type Description
int

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

ColorMode

Returns the color mode

Declaration
public ColorMode ColorMode { get; }

Property Value

Type Description
ColorMode

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Height

Returns the height of the RGB LED matrix

Declaration
public int Height { get; }

Property Value

Type Description
int

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

IgnoreOutOfBoundsPixels

Gets/Sets property to ignore boundaries when drawing outside of the LED matrix

Declaration
public bool IgnoreOutOfBoundsPixels { get; set; }

Property Value

Type Description
bool

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

PixelBuffer

The pixel buffer that represents the offscreen buffer Not implemented for this driver

Declaration
public IPixelBuffer PixelBuffer { get; }

Property Value

Type Description
IPixelBuffer

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

SupportedColorModes

Color modes supported by the device

Declaration
public ColorMode SupportedColorModes { get; }

Property Value

Type Description
ColorMode

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Width

Returns the width of the RGB LED matrix

Declaration
public int Width { get; }

Property Value

Type Description
int

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Methods

Clear()

Clear the RGB LED Matrix offscreen buffer

Declaration
public void Clear()

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Clear(bool)

Clear the RGB LED Matrix offscreen buffer

Declaration
public void Clear(bool updateDisplay = false)

Parameters

Type Name Description
bool updateDisplay

Force a display update if true, false to clear the buffer

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

DrawPixel(int, int, Color)

Turn on an RGB LED with the specified color on (x,y) coordinates

Declaration
public void DrawPixel(int x, int y, Color color)

Parameters

Type Name Description
int x

The x position in pixels 0 indexed from the left

int y

The y position in pixels 0 indexed from the top

Color color

The color to draw normalized to black/off or white/on

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

DrawPixel(int, int, bool)

Turn on a LED on (x,y) coordinates

Declaration
public void DrawPixel(int x, int y, bool colored)

Parameters

Type Name Description
int x

The x position in pixels 0 indexed from the left

int y

The y position in pixels 0 indexed from the top

bool colored

Led is on if true, off if false

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Fill(Color)

Fill the display with a normalized color to on/off

Declaration
public void Fill(Color color)

Parameters

Type Name Description
Color color

The color to fill

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Fill(Color, bool)

Fill the display buffer to a normalized color

Declaration
public void Fill(Color fillColor, bool updateDisplay = false)

Parameters

Type Name Description
Color fillColor

The clear color which will be normalized to black/off or white/on

bool updateDisplay

Force a display update if true, false to clear the buffer

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Fill(int, int, int, int, Color)

Fill the display

Declaration
public void Fill(int x, int y, int width, int height, Color fillColor)

Parameters

Type Name Description
int x

The x position in pixels 0 indexed from the left

int y

The y position in pixels 0 indexed from the top

int width

The width to fill in pixels

int height

The height to fill in pixels

Color fillColor

The fillColor color which will be normalized to black/off or white/on

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

GetPixel(int, int)

Get the Color of the pixel at a location (not implemented)

Declaration
public Color GetPixel(int x, int y)

Parameters

Type Name Description
int x

The x position in pixels

int y

The y position in pixels

Returns

Type Description
Color

The pixel color

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Exceptions

Type Condition
NotImplementedException

InvertPixel(int, int)

Invert the color of the pixel at the given location

Declaration
public void InvertPixel(int x, int y)

Parameters

Type Name Description
int x

The x position in pixels 0 indexed from the left

int y

The y position in pixels 0 indexed from the top

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

SetPixel(int, int, Color)

Set a pixel at a specific location

Declaration
public void SetPixel(int x, int y, Color color)

Parameters

Type Name Description
int x

The x position in pixels

int y

The y position in pixels

Color color

The pixel color normalized to on/off

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Show()

Show changes on the display

Declaration
public void Show()

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

Show(int, int, int, int)

Update a region of the display from the offscreen buffer Currently always redraws the entire display

Declaration
public void Show(int left, int top, int right, int bottom)

Parameters

Type Name Description
int left

The left bounding position in pixels

int top

The top bounding position in pixels

int right

The right bounding position in pixels

int bottom

The bottom bounding position in pixels

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub

WriteBuffer(int, int, IPixelBuffer)

Draw a buffer to the display

Declaration
public void WriteBuffer(int x, int y, IPixelBuffer displayBuffer)

Parameters

Type Name Description
int x

The x position in pixels 0 indexed from the left

int y

The y position in pixels 0 indexed from the top

IPixelBuffer displayBuffer

The display buffer to draw to the display

Remarks

LedMatrix8x16Wing
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.FeatherWings.LedMatrix8x16Wing

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

Sample project(s) available on GitHub