Max7219 side-by-side arrangement (#14702)

This commit is contained in:
Scott Lahteine
2019-07-22 05:22:21 -05:00
committed by GitHub
parent a7c41d28af
commit 5c3ec6306f
97 changed files with 148 additions and 26 deletions

View File

@@ -53,16 +53,6 @@
#endif
#define MAX7219_LINES (8 * (MAX7219_NUMBER_UNITS))
#if _ROT == 0 || _ROT == 180
#define MAX7219_Y_LEDS 8
#define MAX7219_X_LEDS MAX7219_LINES
#elif _ROT == 90 || _ROT == 270
#define MAX7219_X_LEDS 8
#define MAX7219_Y_LEDS MAX7219_LINES
#else
#error "MAX7219_ROTATE must be a multiple of +/- 90°."
#endif
//
// MAX7219 registers
//