瀏覽代碼
Disable LCD Pins used by new Max7219 hook up if in that mode
Roxy-3D
6 年之前
No account linked to committer's email address
|
@@ -154,7 +154,9 @@
|
154
|
154
|
// Misc. Functions
|
155
|
155
|
//
|
156
|
156
|
#define SDSS 53
|
157
|
|
-#define LED_PIN 13
|
|
157
|
+#ifndef ROXYs_TRex
|
|
158
|
+ #define LED_PIN 13
|
|
159
|
+#endi
|
158
|
160
|
|
159
|
161
|
// Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
|
160
|
162
|
#define FILWIDTH_PIN 5 // Analog Input
|
|
@@ -175,10 +177,12 @@
|
175
|
177
|
#define LCD_PINS_D5 25
|
176
|
178
|
#define LCD_PINS_D6 27
|
177
|
179
|
#define LCD_PINS_D7 29
|
178
|
|
- #define BEEPER_PIN 37
|
179
|
180
|
#define BTN_EN1 31
|
180
|
181
|
#define BTN_EN2 33
|
181
|
182
|
#define BTN_ENC 35
|
182
|
183
|
#define SD_DETECT_PIN 49
|
183
|
|
- #define KILL_PIN 41
|
|
184
|
+ #ifndef ROXYs_TRex
|
|
185
|
+ #define KILL_PIN 41
|
|
186
|
+ #define BEEPER_PIN 37
|
|
187
|
+ #endif
|
184
|
188
|
#endif
|