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
 #define TEMP_2_PIN          2   // Analog Input.  9 for tool3 -> 2 for chambertemp
54
 #define TEMP_2_PIN          2   // Analog Input.  9 for tool3 -> 2 for chambertemp
55
 #define TEMP_3_PIN         11   // Analog Input. 11 for tool4 -> 2 for chambertemp
55
 #define TEMP_3_PIN         11   // Analog Input. 11 for tool4 -> 2 for chambertemp
56
 #define TEMP_BED_PIN        1   // Analog Input
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
 // Heaters / Fans
63
 // Heaters / Fans

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

54
 #define TEMP_2_PIN         13   // Analog Input. 10 for tool3 -> 13 for chambertemp
54
 #define TEMP_2_PIN         13   // Analog Input. 10 for tool3 -> 13 for chambertemp
55
 #define TEMP_3_PIN         11   // Analog Input. 11 for tool4 -> 13 for chambertemp
55
 #define TEMP_3_PIN         11   // Analog Input. 11 for tool4 -> 13 for chambertemp
56
 #define TEMP_BED_PIN       14   // Analog Input
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
 // Heaters / Fans
63
 // Heaters / Fans

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

49
 //
49
 //
50
 #define TEMP_0_PIN          2   // Analog Input
50
 #define TEMP_0_PIN          2   // Analog Input
51
 #define TEMP_BED_PIN        4   // Analog Input
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
 // Heaters
58
 // Heaters

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

120
 
120
 
121
 // Optional for extruder 4 or chamber:
121
 // Optional for extruder 4 or chamber:
122
 //#define TEMP_X_PIN         12   // Analog Input (default connector for thermistor *T3* on rumba board is used)
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
 #if TEMP_SENSOR_BED == -1
128
 #if TEMP_SENSOR_BED == -1
126
   #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)
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
 #define TEMP_0_PIN         PC0  // T0
88
 #define TEMP_0_PIN         PC0  // T0
89
 #define TEMP_1_PIN         PC1  // T1
89
 #define TEMP_1_PIN         PC1  // T1
90
 #define TEMP_BED_PIN       PC2  // TB
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
 // Heaters / Fans
97
 // Heaters / Fans

Loading…
Cancel
Save