Library for Sure Electronics HT1632 based LED matrix displays. Supports multiple displays connected together.
Dependents: HT1632MsgScroller SMS_LEDMatrixPrinter
Revision 12:e621d8c89cc3, committed 2013-03-20
- Comitter:
- SomeRandomBloke
- Date:
- Wed Mar 20 23:11:10 2013 +0000
- Parent:
- 11:0fac71b7ec1d
- Child:
- 13:9a869360d0ae
- Commit message:
- update
Changed in this revision
HT1632_LedMatrix.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HT1632_LedMatrix.cpp Wed Nov 28 21:56:55 2012 +0000 +++ b/HT1632_LedMatrix.cpp Wed Mar 20 23:11:10 2013 +0000 @@ -61,7 +61,9 @@ DigitalOut ht1632_cs4(p20); // CS pins 17, 18, 19, 20 used. -DigitalOut ht1632_cs[4] = {p17, p18, p19, p20}; // Chip Select (1, 2, 3, 4) +//DigitalOut ht1632_cs[4] = {p17, p18, p19, p20}; // Chip Select (1, 2, 3, 4) +//DigitalOut ht1632_cs[4] = {p19, p18, p20, p17}; // Chip Select (1, 2, 3, 4) +DigitalOut ht1632_cs[4] = {p19, p17, p18, p20}; // Chip Select (1, 2, 3, 4) // helper macros #define chip_number(x,y) (x >> 5) + (y >> 3)*numYDevices