Max7219 Class

Definition

Max7219 LED matrix driver

public class Max7219 : IDisposable
type Max7219 = class
    interface IDisposable
Public Class Max7219
Implements IDisposable
Inheritance
Max7219
Implements

Constructors

Max7219(SpiDevice, Int32, RotationType)

Creates a Max7219 Device given a to communicate over and the number of devices that are cascaded.

Fields

NumDigits

Number of digits Register per Module

SpiClockFrequency

MAX7219 Spi Clock Frequency

SpiMode

MAX7219 SPI Mode

Properties

CascadedDevices

Number of cascaded devices

Item[Int32, Int32]

Gets or Sets the value to the digit value for a given device and digit position

Item[Int32]

Gets or Sets the value to the digit value for a given absolute index

Length

Gets the total number of digits (cascaded devices * num digits)

Rotation

The Rotation to be applied (when modules are assembled rotated way)

Methods

Brightness(Int32)

Sets the brightness of all cascaded devices to the same intensity level.

Clear(Int32, Int32, Boolean)

Clears the buffer from the given start to end (exclusive) and flushes

ClearAll(Boolean)

Clears the buffer from the given start to end and flushes

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Flush()

Writes all the Values to the devices.

Init()

Standard initialization routine.

WriteBuffer(Byte[,])

Writes a two dimensional buffer containing all the values to the devices.

Applies to