浏览代码

Changed Pin Assignment for the RAMPS motherboard so that LCD and Rotary encoder are all wired to AUX-4

This simplifies wiring for those with RAMPS 1.3 and 1.4 boards.
Blair Thompson 13 年前
父节点
当前提交
02ee9e3d30
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      Marlin/pins.h

+ 4
- 4
Marlin/pins.h 查看文件

285
 #define FAN_PIN            4 // IO pin. Buffer needed
285
 #define FAN_PIN            4 // IO pin. Buffer needed
286
 #endif
286
 #endif
287
 #define PS_ON_PIN          12
287
 #define PS_ON_PIN          12
288
-#define KILL_PIN           31
288
+#define KILL_PIN           -1
289
 
289
 
290
 #define HEATER_0_PIN       10   // EXTRUDER 1
290
 #define HEATER_0_PIN       10   // EXTRUDER 1
291
 #if MOTHERBOARD == 33
291
 #if MOTHERBOARD == 33
314
     #define LCD_PINS_D7 29
314
     #define LCD_PINS_D7 29
315
     
315
     
316
     //buttons are directly attached using AUX-2
316
     //buttons are directly attached using AUX-2
317
-    #define BTN_EN1 44
318
-    #define BTN_EN2 42
319
-    #define BTN_ENC 64  //the click
317
+    #define BTN_EN1 37
318
+    #define BTN_EN2 35
319
+    #define BTN_ENC 31  //the click
320
     
320
     
321
     #define BLEN_C 2
321
     #define BLEN_C 2
322
     #define BLEN_B 1
322
     #define BLEN_B 1

正在加载...
取消
保存