Provide more options for Max7219 connection on Formbot

This commit is contained in:
Roxy-3D 2018-09-03 09:52:36 -05:00 committed by GitHub
parent 8e18e48d49
commit fa772c31bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1638,10 +1638,15 @@
#endif #endif
#if ENABLED(MAX7219_DEBUG) #if ENABLED(MAX7219_DEBUG)
/*
#define MAX7219_CLK_PIN 50 // Configuration of the 3 pins to control the display #define MAX7219_CLK_PIN 50 // Configuration of the 3 pins to control the display
#define MAX7219_DIN_PIN 51 // on RUMBA, the ICSP port is used #define MAX7219_DIN_PIN 51 // on RUMBA (or Formbot) using the ICSP port.
#define MAX7219_LOAD_PIN 52 #define MAX7219_LOAD_PIN 52 // This will affect your use of the SD Memory card */
#define MAX7219_CLK_PIN 41 // Configuration of the 3 pins to control the display
#define MAX7219_DIN_PIN 13 // 41 is LCD_Kill_Button, 13 is Arduino_LED, 37 is LCD_Beeper
#define MAX7219_LOAD_PIN 37
#define MAX7219_GCODE // Add the M7219 G-code to control the LED matrix #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_INIT_TEST 2 // Do a test pattern at initialization (Set to 2 for spiral)