Resolve Kill pin & Max7219 Clock conflict on TREX-2+

This commit is contained in:
Roxy-3D 2019-08-05 14:36:50 -05:00 committed by GitHub
parent d4974ea719
commit 6fdb0bec07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,9 +181,13 @@
#define BTN_EN2 33 #define BTN_EN2 33
#define BTN_ENC 35 #define BTN_ENC 35
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#ifndef KILL_PIN
#ifndef MAX7219_DEBUG // Formbot T-Rex's are low on extra pins. We steal the Kill
#ifndef KILL_PIN // pin to provide a Clock signal for the Max7219's
#define KILL_PIN 41 #define KILL_PIN 41
#endif #endif
#endif
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 23 #define LCD_PINS_D4 23