PIDevice_MAX7219_LED_MATRIX Xojo Plugin

PIDevice_MAX7219_LED_MATRIX Class (console safe)


MAX_7219 LED MATRIX


A class to control a MAX7219_LED_MATRIX device via SPI interface on Raspberry PI.

One to eight such LED_MATRIXES can be controlled, by daisy chaining them.
(Daisy chaining is in theory supported but has not been tested when this is written since one of 2 displays that I had was broken, but I got more on the way so this will be revisited).

This class exists on all the platforms for Cross compile purposes but it only actually does something on the Linux ARM target (Raspberry PI)

PIDevice_MAX7219_LED_MATRIX plugin is a Xojo plugin interfaces one or more MAX7219_LED_MATRIX devices.

Object
   PIDevice_MAX7219_LED_MATRIX

class PIDevice_MAX7219_LED_MATRIX

Constructors

PIDevice_MAX7219_LED_MATRIXA constructor to create instance of the class. Number of LCD matrixes that you have on the chain is passed down as parameter.

Methods

BeginTransaction (console safe) Use this to start a transaction to write to more than one display to make sure their all updated at exactly same time.
Clear (console safe) Clears one or all matrixes.
DelayMicroseconds (console safe) Delays execution by given micro seconds.
DelayMilliseconds (console safe) Delays execution by given milli seconds.
EndTransaction (console safe) Ends a multi display transaction started by a BeginTransaction, causing data to be sent to the displays.
Initialize (console safe) Starts the serial communication session with the MAX7219_LED_MATRIX display.
SendASCIILetter (console safe) Sends ASCII letter to the display.
SendSymbol (console safe) Sends a custom symbol to the display.
SetIntensity (console safe) Sets intensity / brightness of the LED Matrix.

Supported Platforms:

  • Linux ARM

    Unsupported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit