|
@@ -36,15 +36,27 @@
|
36
|
36
|
|
37
|
37
|
#define FIL_RUNOUT_PIN 2
|
38
|
38
|
#if NUM_RUNOUT_SENSORS > 1
|
39
|
|
- #define FIL_RUNOUT2_PIN 15 // Creality CR-X can use dual runout sensors
|
|
39
|
+ #define FIL_RUNOUT2_PIN 15 // Creality CR-X can use dual runout sensors
|
40
|
40
|
#endif
|
41
|
41
|
|
42
|
|
-#define SD_DETECT_PIN 49 // Always define onboard SD detect
|
43
|
|
-#define BEEPER_PIN 37 // Always define beeper pin so Play Tone works with ExtUI
|
|
42
|
+#define SD_DETECT_PIN 49 // Always define onboard SD detect
|
|
43
|
+
|
|
44
|
+#define PS_ON_PIN 40 // Used by CR2020 Industrial series
|
|
45
|
+
|
|
46
|
+#if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN)
|
|
47
|
+ #define CASE_LIGHT_PIN 65
|
|
48
|
+#endif
|
44
|
49
|
|
45
|
50
|
#include "pins_RAMPS.h"
|
46
|
51
|
|
47
|
|
-#define EXP1_PIN 65 // A11
|
48
|
|
-#define EXP2_PIN 66 // A12
|
49
|
|
-#define EXP3_PIN 11 // SERVO0_PIN
|
50
|
|
-#define EXP4_PIN 12 // PS_ON_PIN
|
|
52
|
+#ifndef BEEPER_PIN
|
|
53
|
+ #define BEEPER_PIN 37 // Always define beeper pin so Play Tone works with ExtUI
|
|
54
|
+#endif
|
|
55
|
+
|
|
56
|
+#define EXP1_PIN 65 // A11 - Used by CR2020 Industrial series for case
|
|
57
|
+#define EXP2_PIN 66 // A12
|
|
58
|
+#define EXP3_PIN 11 // SERVO0_PIN
|
|
59
|
+#define EXP4_PIN 12 // PS_ON_PIN
|
|
60
|
+
|
|
61
|
+#define SUICIDE_PIN 12 // Used by CR2020 Industrial series
|
|
62
|
+#define SUICIDE_PIN_INVERTING true // Used by CR2020 Industrial series
|