Assume one Max7219 unit if not specified

2.0.x
Roxy-3D 6 years ago committed by GitHub
parent 9651ceb36b
commit 8d5bea073b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,6 +47,9 @@
#endif #endif
#define _ROT ((MAX7219_ROTATE + 360) % 360) #define _ROT ((MAX7219_ROTATE + 360) % 360)
#ifndef MAX7219_NUMBER_UNITS
#define MAX7219_NUMBER_UNITS 1
#endif
#define MAX7219_LINES (8 * (MAX7219_NUMBER_UNITS)) #define MAX7219_LINES (8 * (MAX7219_NUMBER_UNITS))
#if _ROT == 0 || _ROT == 180 #if _ROT == 0 || _ROT == 180

Loading…
Cancel
Save