Table of Contents

Interface IFont

Namespace
Iot.Device.Max7219
Assembly
Iot.Device.Max7219.dll

A font contains one list of bytes per character which can be written to the matrix to represent the character.

public interface IFont

Examples

This example shows how the 'A' char could by encoded:

var aBytes = new byte[] {
    0b1111100,
    0b1111110,
    0b0010011,
    0b0010011,
    0b1111110,
    0b1111100,
    0b0000000,
    0b0000000
};

Remarks

Each character consists of a list of bytes where a single byte represents a column of the display.

Properties

this[char]

Returns a list of bytes for a given character to be written to a matrix.

ListByte this[char chr] { get; }

Parameters

chr char

Property Value

ListByte