|
@@ -26,12 +26,12 @@
|
26
|
26
|
#undef Z_MIN_PIN
|
27
|
27
|
#undef Z_MAX_PIN
|
28
|
28
|
|
29
|
|
- #define X_MIN_PIN 2
|
30
|
|
- #define X_MAX_PIN 3
|
31
|
|
- #define Y_MIN_PIN 15
|
32
|
|
- #define Y_MAX_PIN 14
|
33
|
|
- #define Z_MIN_PIN 19
|
34
|
|
- #define Z_MAX_PIN 18
|
|
29
|
+ #define X_MIN_PIN 2
|
|
30
|
+ #define X_MAX_PIN 3
|
|
31
|
+ #define Y_MIN_PIN 15
|
|
32
|
+ #define Y_MAX_PIN 14
|
|
33
|
+ #define Z_MIN_PIN 19
|
|
34
|
+ #define Z_MAX_PIN 18
|
35
|
35
|
#endif
|
36
|
36
|
//
|
37
|
37
|
#ifdef Z_PROBE_ENDSTOP
|
|
@@ -76,43 +76,45 @@
|
76
|
76
|
//on a Delta with 1 servo. Running through the Z servo endstop in code.
|
77
|
77
|
//Physical wire attachment was done on EXT1 on the GND, 5V, and D47 pins.
|
78
|
78
|
//
|
79
|
|
-#undef SERVO0_PIN
|
80
|
|
-#undef SERVO1_PIN
|
81
|
|
-#undef SERVO2_PIN
|
82
|
|
-#undef SERVO3_PIN
|
|
79
|
+ #undef SERVO0_PIN
|
|
80
|
+ #undef SERVO1_PIN
|
|
81
|
+ #undef SERVO2_PIN
|
|
82
|
+ #undef SERVO3_PIN
|
83
|
83
|
|
84
|
|
-#ifdef NUM_SERVOS
|
85
|
|
- #define SERVO0_PIN -1
|
86
|
|
- #if NUM_SERVOS > 1
|
87
|
|
- #define SERVO1_PIN -1
|
88
|
|
- #if NUM_SERVOS > 2
|
89
|
|
- #define SERVO2_PIN 47
|
90
|
|
- #if NUM_SERVOS > 3
|
91
|
|
- #define SERVO3_PIN -1
|
92
|
|
- #endif
|
93
|
|
- #endif
|
94
|
|
- #endif
|
95
|
|
-#endif
|
|
84
|
+ #ifdef NUM_SERVOS
|
|
85
|
+ #define SERVO0_PIN 47
|
|
86
|
+ #if NUM_SERVOS > 1
|
|
87
|
+ #define SERVO1_PIN -1
|
|
88
|
+ #if NUM_SERVOS > 2
|
|
89
|
+ #define SERVO2_PIN -1
|
|
90
|
+ #if NUM_SERVOS > 3
|
|
91
|
+ #define SERVO3_PIN -1
|
|
92
|
+ #endif
|
|
93
|
+ #endif
|
|
94
|
+ #endif
|
|
95
|
+ #endif
|
96
|
96
|
|
97
|
97
|
//LCD Pins//
|
98
|
98
|
|
99
|
|
-#if defined(VIKI2) || defined(miniVIKI)
|
100
|
|
- #define BEEPER 33
|
|
99
|
+ #if defined(VIKI2) || defined(miniVIKI)
|
|
100
|
+ #define BEEPER 33
|
101
|
101
|
// Pins for DOGM SPI LCD Support
|
102
|
|
- #define DOGLCD_A0 44
|
103
|
|
- #define DOGLCD_CS 45
|
104
|
|
- #define LCD_SCREEN_ROT_180
|
105
|
|
-
|
|
102
|
+ #define DOGLCD_A0 44
|
|
103
|
+ #define DOGLCD_CS 45
|
|
104
|
+ #define LCD_SCREEN_ROT_180
|
|
105
|
+
|
106
|
106
|
//The encoder and click button
|
107
|
|
- #define BTN_EN1 22
|
108
|
|
- #define BTN_EN2 7
|
109
|
|
- #define BTN_ENC 39 //the click switch
|
110
|
|
-
|
111
|
|
- #define SDSS 53
|
112
|
|
- #define SDCARDDETECT 49
|
113
|
|
-
|
114
|
|
- #define KILL_PIN 31
|
|
107
|
+ #define BTN_EN1 22
|
|
108
|
+ #define BTN_EN2 7
|
|
109
|
+ #define BTN_ENC 39 //the click switch
|
115
|
110
|
|
116
|
|
- #define STAT_LED_RED 32
|
117
|
|
- #define STAT_LED_BLUE 35
|
118
|
|
-#endif
|
|
111
|
+ #define SDSS 53
|
|
112
|
+ #define SDCARDDETECT 49
|
|
113
|
+
|
|
114
|
+ #define KILL_PIN 31
|
|
115
|
+ #endif
|
|
116
|
+
|
|
117
|
+ #ifdef TEMP_STAT_LEDS
|
|
118
|
+ #define STAT_LED_RED 32
|
|
119
|
+ #define STAT_LED_BLUE 35
|
|
120
|
+ #endif
|