B4J Programming Press on the image to return to the main documentation page.

rMAX7219LedMatrix

List of types:

LedMatrix

LedMatrix

This is an ESP8266 library.

Events:

None

Members:


  CharWidth As Byte [write only]

  Clear As void

  Commit As void

  DrawText As void

  Initialize (NumberOfDisplays As Byte, SlaveSelectPin As Byte) As void

  Intensity As Byte [write only]

  NextText As String [write only]

  OscillateText As void

  ScrollTextLeft As void

  ScrollTextRight As void

  SetPixel (X As Byte, Y As Byte) As void

  Text As String [write only]

  TextAlignment As Byte [write only]

Members description:

CharWidth As Byte [write only]
Sets the with of a single character. Default is 7.
Clear As void
Clears the frame buffer.
Commit As void
Writes the frame buffer to the displays.
DrawText As void
Draw the currently set text at the current offset.
Initialize (NumberOfDisplays As Byte, SlaveSelectPin As Byte) As void
Initializes the object.
NumberOfDisplays - Number of connected devices.
SlaveSelectPin: CS (or SS) pin.
Intensity As Byte [write only]
Sets the intensity (0 - 15).
NextText As String [write only]
Sets the text that will replace the current text after a complete scroll cycle.
OscillateText As void
ScrollTextLeft As void
ScrollTextRight As void
SetPixel (X As Byte, Y As Byte) As void
Text As String [write only]
Sets the current text.
TextAlignment As Byte [write only]
Sets the alignment.
0 - Text is aligned to left side of the display.
1 - Beginning of text is just outside the right end of the display.
2 - End of text is aligned to the right of the display.
3 - End of text is just outside the left side of the display.
Top