Test program for Adafruit's 32x16 RGB LED matrix. Should look like this: [[https://www.youtube.com/watch?v=YjY66pOaO_M]]
Test program for Adafruit's 32x16 RGB LED matrix. Should look like this: https://www.youtube.com/watch?v=YjY66pOaO_M
Revision 1:dd0dcd303d6d, committed 2012-11-19
- Comitter:
- RRacer
- Date:
- Mon Nov 19 02:16:13 2012 +0000
- Parent:
- 0:1f58ecec51d6
- Commit message:
- Public
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 1f58ecec51d6 -r dd0dcd303d6d main.cpp --- a/main.cpp Mon Nov 19 02:08:11 2012 +0000 +++ b/main.cpp Mon Nov 19 02:16:13 2012 +0000 @@ -3,6 +3,8 @@ also sold on other places, for instance http://www.ebay.com/itm/PH6-RGB-Full-Color-LED-16-32-Dot-Matrix-Display-Module-/310303408628?pt=LH_DefaultDomain_0&hash=item483f8641f4 (no affiliation with either of them). This program is not intended to be highly optimized or a guideline in C programming in any way (more of the opposite actually). +To have more than 7 colors on this thing, you need to implement software PWM of some sort. I have obviously not done that, but if YOU do, please let me know! +Adafruit have a wicked demo program for an arduino - www.youtube.com/watch?v=lY-flFEfsHo There are probably lots of ways to make this perform better, perhaps by using Neal Hormans port of the Adafruit_GFX library (http://mbed.org/users/nkhorman/code/Adafruit_GFX/). No error checking or out-of-bounds checking is done. Use at your own peril. For more detailed information on the driver chip, see http://www.bjtopspace.com/ziliao/CYT62726.pdf