From 6fdb0bec073e087e0c30540787ef3031a0a3941a Mon Sep 17 00:00:00 2001 From: Roxy-3D Date: Mon, 5 Aug 2019 14:36:50 -0500 Subject: [PATCH] Resolve Kill pin & Max7219 Clock conflict on TREX-2+ --- Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h b/Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h index 319a415cd3..2e930cce33 100644 --- a/Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h +++ b/Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h @@ -181,9 +181,13 @@ #define BTN_EN2 33 #define BTN_ENC 35 #define SD_DETECT_PIN 49 - #ifndef KILL_PIN - #define KILL_PIN 41 + + #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 + #endif #endif + #define LCD_PINS_RS 16 #define LCD_PINS_ENABLE 17 #define LCD_PINS_D4 23