Browse Source

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

Roxy-3D 6 years ago
parent
commit
6fdb0bec07
No account linked to committer's email address
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h

+ 6
- 2
Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h View File

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

Loading…
Cancel
Save