|
@@ -138,49 +138,49 @@
|
138
|
138
|
* Hi Voltage PWM Pin Assignments
|
139
|
139
|
*/
|
140
|
140
|
|
141
|
|
-#ifndef HI_VOLT_PIN_D
|
142
|
|
- #define HI_VOLT_PIN_D -1
|
|
141
|
+#ifndef MOSFET_D_PIN
|
|
142
|
+ #define MOSFET_D_PIN -1
|
143
|
143
|
#endif
|
144
|
|
-#ifndef HI_VOLT_PIN_C
|
145
|
|
- #define HI_VOLT_PIN_C 8
|
|
144
|
+#ifndef RAMPS_D8_PIN
|
|
145
|
+ #define RAMPS_D8_PIN 8
|
146
|
146
|
#endif
|
147
|
|
-#ifndef HI_VOLT_PIN_B
|
148
|
|
- #define HI_VOLT_PIN_B 9
|
|
147
|
+#ifndef RAMPS_D9_PIN
|
|
148
|
+ #define RAMPS_D9_PIN 9
|
149
|
149
|
#endif
|
150
|
|
-#ifndef HI_VOLT_PIN_A
|
151
|
|
- #define HI_VOLT_PIN_A 10
|
|
150
|
+#ifndef RAMPS_D10_PIN
|
|
151
|
+ #define RAMPS_D10_PIN 10
|
152
|
152
|
#endif
|
153
|
153
|
|
154
|
|
-#define HEATER_0_PIN HI_VOLT_PIN_A
|
|
154
|
+#define HEATER_0_PIN RAMPS_D10_PIN
|
155
|
155
|
|
156
|
156
|
#if ENABLED(IS_RAMPS_EFB) // Hotend, Fan, Bed
|
157
|
|
- #define FAN_PIN HI_VOLT_PIN_B
|
158
|
|
- #define HEATER_BED_PIN HI_VOLT_PIN_C
|
159
|
|
- #define FAN1_PIN 4 // IO pin. Buffer needed
|
|
157
|
+ #define FAN_PIN RAMPS_D9_PIN
|
|
158
|
+ #define HEATER_BED_PIN RAMPS_D8_PIN
|
160
|
159
|
#elif ENABLED(IS_RAMPS_EEF) // Hotend, Hotend, Fan
|
161
|
|
- #define HEATER_1_PIN HI_VOLT_PIN_B
|
162
|
|
- #define FAN_PIN HI_VOLT_PIN_C
|
163
|
|
- #define FAN1_PIN 4 // IO pin. Buffer needed
|
|
160
|
+ #define HEATER_1_PIN RAMPS_D9_PIN
|
|
161
|
+ #define FAN_PIN RAMPS_D8_PIN
|
164
|
162
|
#elif ENABLED(IS_RAMPS_EEB) // Hotend, Hotend, Bed
|
165
|
|
- #define HEATER_1_PIN HI_VOLT_PIN_B
|
166
|
|
- #define HEATER_BED_PIN HI_VOLT_PIN_C
|
167
|
|
- #define FAN_PIN 4 // IO pin. Buffer needed
|
|
163
|
+ #define HEATER_1_PIN RAMPS_D9_PIN
|
|
164
|
+ #define HEATER_BED_PIN RAMPS_D8_PIN
|
168
|
165
|
#elif ENABLED(IS_RAMPS_EFF) // Hotend, Fan, Fan
|
169
|
|
- #define FAN_PIN HI_VOLT_PIN_B
|
170
|
|
- #define FAN1_PIN HI_VOLT_PIN_C
|
|
166
|
+ #define FAN_PIN RAMPS_D9_PIN
|
|
167
|
+ #define FAN1_PIN RAMPS_D8_PIN
|
171
|
168
|
#define CONTROLLERFAN_PIN -1
|
172
|
169
|
#elif ENABLED(IS_RAMPS_SF) // Spindle, Fan
|
173
|
|
- #define FAN_PIN HI_VOLT_PIN_C
|
|
170
|
+ #define FAN_PIN RAMPS_D8_PIN
|
174
|
171
|
#else // Non-specific are "EFB" by legacy
|
175
|
|
- #define FAN_PIN HI_VOLT_PIN_B
|
176
|
|
- #define HEATER_BED_PIN HI_VOLT_PIN_C
|
|
172
|
+ #define FAN_PIN RAMPS_D9_PIN
|
|
173
|
+ #define HEATER_BED_PIN RAMPS_D8_PIN
|
177
|
174
|
#if HOTENDS == 1
|
178
|
|
- #define FAN1_PIN HI_VOLT_PIN_D
|
|
175
|
+ #define FAN1_PIN MOSFET_D_PIN
|
179
|
176
|
#else
|
180
|
|
- #define HEATER_1_PIN HI_VOLT_PIN_D
|
|
177
|
+ #define HEATER_1_PIN MOSFET_D_PIN
|
181
|
178
|
#endif
|
182
|
179
|
#endif
|
183
|
180
|
|
|
181
|
+#ifndef FAN_PIN
|
|
182
|
+ #define FAN_PIN 4 // IO pin. Buffer needed
|
|
183
|
+#endif
|
184
|
184
|
|
185
|
185
|
/**
|
186
|
186
|
* LCD Controller Pin Assignments
|