Skip to content

Arduino library code for HT1632(C) matrix panel driver chips, and the panels we have in the Adafruit shop

Notifications You must be signed in to change notification settings

christineyen/HT1632

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adafruit's HT1632 library + SureElectronics Matrix

Parts:

While Adafruit's 16x24 LED Matrix tutorial was awesome, the HT1632 library in order to interface with the matrix didn't quite match up with the coordinates / mapping of the LEDs in the SureElectronics board off eBay.

The matrixdemo Example, which is supposed to traverse the matrix from (0, 0) to (WIDTH, 0), and all the way to (WIDTH, HEIGHT), was traversing my LED panel like this:

|----------------|----------------|----------------|
|                                                  |
|              ^ |              ^ |              ^ |
|             [5]|             [4]|             [3]|
|----------------|----------------|----------------|
|                                                  |
|              ^ |           ^  ^ |           ^  ^ |
|             [2]|          [7][1]|          [6][0]|
|----------------|----------------|----------------|

... and so on. I made a few tweaks to HT1632.cpp that got the coordinate system set up the way I want:

|----------------|----------------|
|[0]----->       |                |
|                |                |
|----------------|----------------|
|                |                |
|                |                |
|----------------|----------------|
|                |                |
|                |            END |
|----------------|----------------|

About

Arduino library code for HT1632(C) matrix panel driver chips, and the panels we have in the Adafruit shop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 44.8%
  • C++ 38.4%
  • Java 16.8%