Add Multi Unit Support for Max7219 to bugfix_2.0.0 (#11285)
* Add Multi Unit Support for Max7219 to bugfix_2.0.0 * Apply multi-MAX7219 to example configs * Tweak some spacing, macros
This commit is contained in:
		| @@ -1689,9 +1689,11 @@ | ||||
|   #define MAX7219_DIN_PIN   57 | ||||
|   #define MAX7219_LOAD_PIN  44 | ||||
|  | ||||
|   //#define MAX7219_GCODE       // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST     // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_ROTATE     0  // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|   //#define MAX7219_GCODE          // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST    2   // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_NUMBER_UNITS 1   // Number of Max7219 units in chain. | ||||
|   #define MAX7219_ROTATE       0   // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|                                    // connector at:  right=0   bottom=-90  top=90  left=180 | ||||
|  | ||||
|   /** | ||||
|    * Sample debug features | ||||
|   | ||||
| @@ -1689,9 +1689,11 @@ | ||||
|   #define MAX7219_DIN_PIN   57 | ||||
|   #define MAX7219_LOAD_PIN  44 | ||||
|  | ||||
|   //#define MAX7219_GCODE       // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST     // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_ROTATE     0  // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|   //#define MAX7219_GCODE          // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST    2   // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_NUMBER_UNITS 1   // Number of Max7219 units in chain. | ||||
|   #define MAX7219_ROTATE       0   // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|                                    // connector at:  right=0   bottom=-90  top=90  left=180 | ||||
|  | ||||
|   /** | ||||
|    * Sample debug features | ||||
|   | ||||
| @@ -1689,9 +1689,11 @@ | ||||
|   #define MAX7219_DIN_PIN   57 | ||||
|   #define MAX7219_LOAD_PIN  44 | ||||
|  | ||||
|   //#define MAX7219_GCODE       // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST     // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_ROTATE     0  // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|   //#define MAX7219_GCODE          // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST    2   // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_NUMBER_UNITS 1   // Number of Max7219 units in chain. | ||||
|   #define MAX7219_ROTATE       0   // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|                                    // connector at:  right=0   bottom=-90  top=90  left=180 | ||||
|  | ||||
|   /** | ||||
|    * Sample debug features | ||||
|   | ||||
| @@ -1689,9 +1689,11 @@ | ||||
|   #define MAX7219_DIN_PIN   57 | ||||
|   #define MAX7219_LOAD_PIN  44 | ||||
|  | ||||
|   //#define MAX7219_GCODE       // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST     // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_ROTATE     0  // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|   //#define MAX7219_GCODE          // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST    2   // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_NUMBER_UNITS 1   // Number of Max7219 units in chain. | ||||
|   #define MAX7219_ROTATE       0   // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|                                    // connector at:  right=0   bottom=-90  top=90  left=180 | ||||
|  | ||||
|   /** | ||||
|    * Sample debug features | ||||
|   | ||||
| @@ -1689,9 +1689,11 @@ | ||||
|   #define MAX7219_DIN_PIN   57 | ||||
|   #define MAX7219_LOAD_PIN  44 | ||||
|  | ||||
|   //#define MAX7219_GCODE       // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST     // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_ROTATE     0  // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|   //#define MAX7219_GCODE          // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST    2   // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_NUMBER_UNITS 1   // Number of Max7219 units in chain. | ||||
|   #define MAX7219_ROTATE       0   // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|                                    // connector at:  right=0   bottom=-90  top=90  left=180 | ||||
|  | ||||
|   /** | ||||
|    * Sample debug features | ||||
|   | ||||
| @@ -1694,9 +1694,11 @@ | ||||
|   #define MAX7219_DIN_PIN   57 | ||||
|   #define MAX7219_LOAD_PIN  44 | ||||
|  | ||||
|   //#define MAX7219_GCODE       // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST     // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_ROTATE     0  // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|   //#define MAX7219_GCODE          // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST    2   // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_NUMBER_UNITS 1   // Number of Max7219 units in chain. | ||||
|   #define MAX7219_ROTATE       0   // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|                                    // connector at:  right=0   bottom=-90  top=90  left=180 | ||||
|  | ||||
|   /** | ||||
|    * Sample debug features | ||||
|   | ||||
| @@ -1689,9 +1689,11 @@ | ||||
|   #define MAX7219_DIN_PIN   57 | ||||
|   #define MAX7219_LOAD_PIN  44 | ||||
|  | ||||
|   //#define MAX7219_GCODE       // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST     // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_ROTATE     0  // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|   //#define MAX7219_GCODE          // Add the M7219 G-code to control the LED matrix | ||||
|   #define MAX7219_INIT_TEST    2   // Do a test pattern at initialization (Set to 2 for spiral) | ||||
|   #define MAX7219_NUMBER_UNITS 1   // Number of Max7219 units in chain. | ||||
|   #define MAX7219_ROTATE       0   // Rotate the display clockwise (in multiples of +/- 90°) | ||||
|                                    // connector at:  right=0   bottom=-90  top=90  left=180 | ||||
|  | ||||
|   /** | ||||
|    * Sample debug features | ||||
|   | ||||
		Reference in New Issue
	
	Block a user