Skip to content

FARLY7/LEDMatrixDriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEDMatrixDriver

A replacement for Arduino's LedControl library.

Features

  • Can drive more than 8 segments (limited only by memory)
  • Writing to the display is controlled by software
  • Much faster because it uses hardware SPI with soft SS
  • Can use an external memory or self-allocated buffer
  • (Optional) support for Adafruit_GFX library -DUSE_ADAFTUIT_GFX to enable

Pin selection

Each segment of the display requires 16 bits and can all be shifted in at once. To make transfers faster we use hardware SPI instead of software.

The pins are therefore fixed:

  • MOSI is connected to DIN,
  • SCK is connected to CLK,
  • MISO can't be used (unless by other SPI device),
  • SS can't be used (we're not using the hardware pin).

The user has to select which pin to use for software SS but don't use any of the hardware SPI pins. Please check pin numbers specific for your hardware platform.

Recommended pins for Arduino Uno:

  • DIN is connected to 11
  • CLK is connected to 13
  • CS is connected to 9

Contributors

  • Marko Oette - patches for Arduino AVR platform, example sketch
  • Søren Thing Andersen - support for 7-seg displays with examples

About

MAX7219/MAX7221 LED Matrix Driver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%