Browse Source

Allow TEMP_CHAMBER_PIN override

Scott Lahteine 5 years ago
parent
commit
ef8ce2e2e5

+ 4
- 1
Marlin/src/pins/mega/pins_CNCONTROLS_11.h View File

@@ -54,7 +54,10 @@
54 54
 #define TEMP_2_PIN          2   // Analog Input.  9 for tool3 -> 2 for chambertemp
55 55
 #define TEMP_3_PIN         11   // Analog Input. 11 for tool4 -> 2 for chambertemp
56 56
 #define TEMP_BED_PIN        1   // Analog Input
57
-//#define TEMP_CHAMBER_PIN    2   // Analog Input
57
+
58
+#ifndef TEMP_CHAMBER_PIN
59
+  //#define TEMP_CHAMBER_PIN 2  // Analog Input
60
+#endif
58 61
 
59 62
 //
60 63
 // Heaters / Fans

+ 4
- 1
Marlin/src/pins/mega/pins_CNCONTROLS_12.h View File

@@ -54,7 +54,10 @@
54 54
 #define TEMP_2_PIN         13   // Analog Input. 10 for tool3 -> 13 for chambertemp
55 55
 #define TEMP_3_PIN         11   // Analog Input. 11 for tool4 -> 13 for chambertemp
56 56
 #define TEMP_BED_PIN       14   // Analog Input
57
-//#define TEMP_CHAMBER_PIN   13   // Analog Input
57
+
58
+#ifndef TEMP_CHAMBER_PIN
59
+  //#define TEMP_CHAMBER_PIN 13 // Analog Input
60
+#endif
58 61
 
59 62
 //
60 63
 // Heaters / Fans

+ 4
- 1
Marlin/src/pins/mega/pins_CNCONTROLS_15.h View File

@@ -49,7 +49,10 @@
49 49
 //
50 50
 #define TEMP_0_PIN          2   // Analog Input
51 51
 #define TEMP_BED_PIN        4   // Analog Input
52
-#define TEMP_CHAMBER_PIN    5   // Analog Input
52
+
53
+#ifndef TEMP_CHAMBER_PIN
54
+  #define TEMP_CHAMBER_PIN  5   // Analog Input
55
+#endif
53 56
 
54 57
 //
55 58
 // Heaters

+ 4
- 1
Marlin/src/pins/ramps/pins_RUMBA.h View File

@@ -120,7 +120,10 @@
120 120
 
121 121
 // Optional for extruder 4 or chamber:
122 122
 //#define TEMP_X_PIN         12   // Analog Input (default connector for thermistor *T3* on rumba board is used)
123
-//#define TEMP_CHAMBER_PIN   12   // Analog Input (default connector for thermistor *T3* on rumba board is used)
123
+
124
+#ifndef TEMP_CHAMBER_PIN
125
+  //#define TEMP_CHAMBER_PIN 12   // Analog Input (default connector for thermistor *T3* on rumba board is used)
126
+#endif
124 127
 
125 128
 #if TEMP_SENSOR_BED == -1
126 129
   #define TEMP_BED_PIN      7   // Analog Input (connector *K3* on RUMBA thermocouple ADD ON is used <-- this can't be used when TEMP_SENSOR_2 is defined as thermocouple)

+ 4
- 1
Marlin/src/pins/stm32/pins_BLACK_STM32F407VE.h View File

@@ -88,7 +88,10 @@
88 88
 #define TEMP_0_PIN         PC0  // T0
89 89
 #define TEMP_1_PIN         PC1  // T1
90 90
 #define TEMP_BED_PIN       PC2  // TB
91
-#define TEMP_CHAMBER_PIN   PC3  // TC
91
+
92
+#ifndef TEMP_CHAMBER_PIN
93
+  #define TEMP_CHAMBER_PIN PC3  // TC
94
+#endif
92 95
 
93 96
 //
94 97
 // Heaters / Fans

Loading…
Cancel
Save