|
@@ -28,26 +28,23 @@
|
28
|
28
|
#define BOARD_NAME "Anycubic RAMPS 1.4"
|
29
|
29
|
#endif
|
30
|
30
|
|
31
|
|
-#define IS_RAMPS_EFB
|
32
|
|
-
|
33
|
|
-// FAN0 / D9 - Typically used for the part fan on Anycubic Delta devices
|
34
|
|
-#define FAN_PIN 9
|
35
|
|
-
|
36
|
|
-// FAN1 / D7 - Typically unused, can be allocated as Case Fan
|
|
31
|
+// Remap MOSFET pins to common usages
|
|
32
|
+#if HOTENDS > 1
|
|
33
|
+ #define RAMPS_D9_PIN 45 // EEB, EEF
|
|
34
|
+ #if !TEMP_SENSOR_BED
|
|
35
|
+ #define RAMPS_D8_PIN 9 // EEF
|
|
36
|
+ #endif
|
|
37
|
+#elif TEMP_SENSOR_BED
|
|
38
|
+ #define FAN1_PIN 7 // EFB
|
|
39
|
+#else
|
|
40
|
+ #define FAN2_PIN 44 // EFF
|
|
41
|
+#endif
|
37
|
42
|
|
38
|
|
-// FAN2 / D44 - Typical Extruder Fan on Anycubic Delta devices
|
39
|
|
-#define FAN2_PIN 44
|
40
|
|
-#define ORIG_E0_AUTO_FAN_PIN 44
|
|
43
|
+// D44 - Typical Extruder Fan on Anycubic Delta devices
|
|
44
|
+#define ORIG_E0_AUTO_FAN_PIN 44
|
41
|
45
|
|
42
|
46
|
#include "pins_RAMPS.h"
|
43
|
47
|
|
44
|
|
-// TODO 1.4 boards do have an E1 stepper driver. However the pin definitions
|
45
|
|
-// from pins_RAMPS.h are incorrect for this board. e.g., Pin 44 is the Extruder fan.
|
46
|
|
-#undef E1_STEP_PIN
|
47
|
|
-#undef E1_DIR_PIN
|
48
|
|
-#undef E1_ENABLE_PIN
|
49
|
|
-#undef E1_CS_PIN
|
50
|
|
-
|
51
|
48
|
//
|
52
|
49
|
// AnyCubic made the following changes to 1.1.0-RC8
|
53
|
50
|
// If these are appropriate for your LCD let us know.
|