|
@@ -39,19 +39,6 @@
|
39
|
39
|
#ifndef BOARD_NAME
|
40
|
40
|
#define BOARD_NAME "RuRAMPS4Due"
|
41
|
41
|
#endif
|
42
|
|
-#define RURAMPS4DUE // #1550 in boards.h
|
43
|
|
-
|
44
|
|
-#undef INVERTED_HEATER_PINS
|
45
|
|
-#undef INVERTED_BED_PINS
|
46
|
|
-#undef INVERTED_FAN_PINS
|
47
|
|
-
|
48
|
|
-//
|
49
|
|
-// Servos
|
50
|
|
-//
|
51
|
|
-#define SERVO0_PIN 5
|
52
|
|
-#define SERVO1_PIN 3
|
53
|
|
-#define SERVO2_PIN -1
|
54
|
|
-#define SERVO3_PIN 1
|
55
|
42
|
|
56
|
43
|
//
|
57
|
44
|
// Limit Switches
|
|
@@ -60,7 +47,7 @@
|
60
|
47
|
#define X_MAX_PIN 39
|
61
|
48
|
#define Y_MIN_PIN 46
|
62
|
49
|
#define Y_MAX_PIN 41
|
63
|
|
-#define Z_MIN_PIN 49
|
|
50
|
+#define Z_MIN_PIN 47
|
64
|
51
|
#define Z_MAX_PIN 43
|
65
|
52
|
|
66
|
53
|
//
|
|
@@ -116,16 +103,6 @@
|
116
|
103
|
//#define Z2_MS2_PIN ? // shared with E3_MS2_PIN
|
117
|
104
|
//#define Z2_MS3_PIN ? // shared with E3_MS3_PIN
|
118
|
105
|
|
119
|
|
-//
|
120
|
|
-// Limit Switches
|
121
|
|
-//
|
122
|
|
-#define X_MIN_PIN 45
|
123
|
|
-#define X_MAX_PIN 39
|
124
|
|
-#define Y_MIN_PIN 46
|
125
|
|
-#define Y_MAX_PIN 41
|
126
|
|
-#define Z_MIN_PIN 47
|
127
|
|
-#define Z_MAX_PIN 43
|
128
|
|
-
|
129
|
106
|
#if !ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
|
130
|
107
|
#define Z_PROBE_PIN 49
|
131
|
108
|
#endif // else Z_PROBE_PIN = Z_MIN_PIN
|
|
@@ -144,7 +121,7 @@
|
144
|
121
|
#define HEATER_2_PIN 11
|
145
|
122
|
#define HEATER_BED_PIN 7 // BED H1
|
146
|
123
|
|
147
|
|
-#define FAN_PIN 9
|
|
124
|
+#define FAN_PIN 9
|
148
|
125
|
#define FAN1_PIN 8
|
149
|
126
|
#define CONTROLLER_FAN_PIN -1
|
150
|
127
|
|
|
@@ -182,9 +159,7 @@
|
182
|
159
|
//
|
183
|
160
|
#define SDSS 4 // 4,10,52 if using HW SPI.
|
184
|
161
|
#define LED_PIN -1 // 13 - HEATER_0_PIN
|
185
|
|
-#define SDPOWER -1
|
186
|
162
|
#define PS_ON_PIN -1 // 65
|
187
|
|
-#define KILL_PIN -1
|
188
|
163
|
|
189
|
164
|
// MKS TFT / Nextion Use internal USART-1
|
190
|
165
|
#define TFT_LCD_MODULE_COM 1
|
|
@@ -247,6 +222,7 @@
|
247
|
222
|
#define BTN_ENC 40
|
248
|
223
|
#define SD_DETECT_PIN 51
|
249
|
224
|
#endif
|
|
225
|
+
|
250
|
226
|
#elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
|
251
|
227
|
#define BTN_EN1 44
|
252
|
228
|
#define BTN_EN2 42
|