Ver código fonte

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

Roxy-3D 6 anos atrás
pai
commit
6fdb0bec07
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 6 adições e 2 exclusões
  1. 6
    2
      Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h

+ 6
- 2
Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar