Adafruit Led Matrix 64x32 Lib
Dependents: Adafruit-64x32-PWM-Demo
Diff: LedMatrix.cpp
- Revision:
- 2:e37a437cf602
- Parent:
- 1:99abd7449a45
diff -r 99abd7449a45 -r e37a437cf602 LedMatrix.cpp --- a/LedMatrix.cpp Tue Oct 24 02:59:55 2017 +0000 +++ b/LedMatrix.cpp Tue Oct 24 03:11:30 2017 +0000 @@ -125,8 +125,8 @@ { int r, g, b; - r = (c >> 10) & 0x1F; // RRRRRgggggbbbbb - g = (c >> 5) & 0x1F; // rrrrrGGGGGbbbbb + r = (c >> 11) & 0x1F; // RRRRRgggggbbbbb + g = (c >> 6) & 0x1F; // rrrrrGGGGGbbbbb b = c & 0x1F; // rrrrrgggggBBBBB for(int p=0;p<PLANES;p++)