瀏覽代碼

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

Roxy-3D 6 年之前
父節點
當前提交
6fdb0bec07
No account linked to committer's email address
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6
    2
      Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h

+ 6
- 2
Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h 查看文件

@@ -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…
取消
儲存