An Arduino library for controlling a canvas of sets of 8x8 LEDs driven by MAX7219 or MAX7221 controllers. Kits sold for below 10 USD.
This is a plugin for Adafruit's core graphics library GFX, providing basic graphics primitives (points, lines, circles, characters, etc.). So besides this library, you need to download and install Adafruit_GFX, dated Jul 5th, 2013 or more recent.
Created by Mark Ruys, mark@paracas.nl, 2013.
Edited by Patrick Neggie patmn@umich.edu 2018.
Edited by Jeroen Vermeulen info@jeroenvermeulen.eu 2021.
Place these libraries in your libraries folder:
You may need to create the libraries
folder if its your first library. Restart the Arduino IDE.
- Double buffering to prevent screen flicker. Check out our example for usage.
- Support for multiple matrix displays, positioned in an arbitrary rectangular layout. You can define both the order as the rotation of each display.
- Uses the SPI library to address the display(s) connected in cascade.
- Low memory footprint.
- Fast, no use of NOOP's.
- Easy usage, one-line function to print text to display
- A new function in the format
void printToDisplay(String tape, int wait)
takes in a two parameters: a string of what to print to the display and a integer wait time to change how fast the text scrolls on the display. - Added software SPI support using the MajenkoLibraries/SoftSPI library.
Read overview for instructions how to use Adafruit_GFX. Check out our examples to get some inspiration. Note that to update your displays, you need to explicitely call write().
At YouTube, you'll find a ticker tape and snake demo.