Skip to content

Adafruit 16x32 and 32x32 RGB LED matrix panel library adapted for Spark

License

Notifications You must be signed in to change notification settings

mootcycle/RGBmatrixPanel_IDE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RGB Matrix Panel

Arduino library for Adafruit 16x32 and 32x32 RGB LED matrix panels.

Spark Adaptation

Adapted for Spark by Paul Kourany, June 2014

The orginal Arduino library used a lot of direct I/O port write tricks and assembler to achieve a calculated 283Hz refresh rate for a 16x32 panel.

The current Spark version uses bit-banging for the output which could be optimized using inline assembler and full GPIO port writing. This may be added in the next release. As it stands the calculated refresh rate for a 16x32 panel is 90Hz.

Components Required

This library requires the Adafruit_mfGFX and SparkIntervalTimer libraries

Wiring

Wiring between the Spark and 16x32 or 32x32 display is as follows:

16x32 Pin		Spark Pin
--------------------------
  GND				GND
  CLK 				D6
  OE  				D7
  LAT 				A4
  A   				A0
  B   				A1
  C   				A2
  D					A3	//32x32 display only
  R1				D0				
  G1				D1				
  B1				D2				
  R2				D3				
  G2				D4				
  B2				D5				

The display needs its own 5V supply.

Connect, compile, flash and run.

About

Adafruit 16x32 and 32x32 RGB LED matrix panel library adapted for Spark

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 79.0%
  • Other 14.1%
  • C 6.9%