|
@@ -200,15 +200,35 @@
|
200
|
200
|
#define TEMP_0_PIN PA2 // TH0
|
201
|
201
|
#define TEMP_1_PIN PA3 // TH1
|
202
|
202
|
|
|
203
|
+#if HOTENDS == 1
|
|
204
|
+ #if TEMP_SENSOR_PROBE
|
|
205
|
+ #define TEMP_PROBE_PIN TEMP_1_PIN
|
|
206
|
+ #elif TEMP_SENSOR_CHAMBER
|
|
207
|
+ #define TEMP_CHAMBER_PIN TEMP_1_PIN
|
|
208
|
+ #endif
|
|
209
|
+#endif
|
|
210
|
+
|
203
|
211
|
//
|
204
|
212
|
// Heaters / Fans
|
205
|
213
|
//
|
206
|
|
-#define HEATER_0_PIN PB3 // Heater0
|
207
|
|
-#define HEATER_1_PIN PB4 // Heater1
|
208
|
|
-#define HEATER_BED_PIN PD7 // Hotbed
|
209
|
|
-#define FAN_PIN PB7 // Fan0
|
210
|
|
-#define FAN1_PIN PB6 // Fan1
|
211
|
|
-#define FAN2_PIN PB5 // Fan2
|
|
214
|
+#ifndef HEATER_0_PIN
|
|
215
|
+ #define HEATER_0_PIN PB3 // Heater0
|
|
216
|
+#endif
|
|
217
|
+#ifndef HEATER_1_PIN
|
|
218
|
+ #define HEATER_1_PIN PB4 // Heater1
|
|
219
|
+#endif
|
|
220
|
+#ifndef HEATER_BED_PIN
|
|
221
|
+ #define HEATER_BED_PIN PD7 // Hotbed
|
|
222
|
+#endif
|
|
223
|
+#ifndef FAN_PIN
|
|
224
|
+ #define FAN_PIN PB7 // Fan0
|
|
225
|
+#endif
|
|
226
|
+#ifndef FAN1_PIN
|
|
227
|
+ #define FAN1_PIN PB6 // Fan1
|
|
228
|
+#endif
|
|
229
|
+#ifndef FAN2_PIN
|
|
230
|
+ #define FAN2_PIN PB5 // Fan2
|
|
231
|
+#endif
|
212
|
232
|
|
213
|
233
|
//
|
214
|
234
|
// Software SPI pins for TMC2130 stepper drivers
|