chiark / gitweb /
Changed Pin Assignment for the RAMPS motherboard so that LCD and Rotary encoder are...
authorBlair Thompson <mail@justblair.co.uk>
Sun, 4 Mar 2012 21:34:20 +0000 (21:34 +0000)
committerBlair Thompson <mail@justblair.co.uk>
Sun, 4 Mar 2012 21:34:20 +0000 (21:34 +0000)
This simplifies wiring for those with RAMPS 1.3 and 1.4 boards.

Marlin/pins.h

index e1f9b842372fc51a403064cc80885c878630d999..abf5a7eb995511ec3a62ad8a2e29cecb67de1aa9 100644 (file)
 #define FAN_PIN            4 // IO pin. Buffer needed
 #endif
 #define PS_ON_PIN          12
-#define KILL_PIN           31
+#define KILL_PIN           -1
 
 #define HEATER_0_PIN       10   // EXTRUDER 1
 #if MOTHERBOARD == 33
     #define LCD_PINS_D7 29
     
     //buttons are directly attached using AUX-2
-    #define BTN_EN1 44
-    #define BTN_EN2 42
-    #define BTN_ENC 64  //the click
+    #define BTN_EN1 37
+    #define BTN_EN2 35
+    #define BTN_ENC 31  //the click
     
     #define BLEN_C 2
     #define BLEN_B 1