| PIDevice_MAX7219_LED_MATRIX Xojo Plugin |
|
PIDevice_MAX7219_8x8Symbol Class (console safe)

A class to represent custom symbol to draw on a MAX7219 LED Matrix.
This class exists on all the platforms for Cross compile purposes but it only actually does something on the Linux ARM target (Raspberry PI)
Object
PIDevice_MAX7219_8x8Symbol
class PIDevice_MAX7219_8x8Symbol
Methods
Part (console safe) | Sets or gets a single led in the matrix. |
SetColumn (console safe) | Populates whole column at once |
SetRow (console safe) | Populates whole row at once |
Examples
The symbol on the picture above was generated with this code:
Dim symbol as new PIDevice_MAX7219_8x8Symbol()
// Generate our symbol which will be just a frame
for y as Integer = 0 to 7
for x as Integer = 0 to 7
if y = 0 or y = 7 or x = 0 or x = 7 then
symbol.Part(x,y) = true
end if
next
next
PIMatrix.SendSymbol(1,symbol)
Supported Platforms:
Linux ARMUnsupported Platforms:
MacOS X CarbonMacOS X Cocoa 32 bitMacOS X Cocoa 64 bitWindows 32 bitWindows 64 bitLinux 32 bitLinux 64 bit