jeroenvermeulen / arduino-Max72xxPanel

Arduino interface for Adafruit-GFX to control a set of 8x8 LEDs with a MAX7219 or MAX7221

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TinkerTech Max72xxPanel Arduino Library

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.

Installation

Place these libraries in your libraries folder:

You may need to create the libraries folder if its your first library. Restart the Arduino IDE.

Features

  • 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

Notable Additions

  • 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.

Usage

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.

About

Arduino interface for Adafruit-GFX to control a set of 8x8 LEDs with a MAX7219 or MAX7221

License:Other


Languages

Language:C++ 100.0%