Assume one Max7219 unit if not specified
This commit is contained in:
parent
9651ceb36b
commit
8d5bea073b
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@
|
|||
#endif
|
||||
#define _ROT ((MAX7219_ROTATE + 360) % 360)
|
||||
|
||||
#ifndef MAX7219_NUMBER_UNITS
|
||||
#define MAX7219_NUMBER_UNITS 1
|
||||
#endif
|
||||
#define MAX7219_LINES (8 * (MAX7219_NUMBER_UNITS))
|
||||
|
||||
#if _ROT == 0 || _ROT == 180
|
||||
|
|
Reference in a new issue