Browse Source

HI_VOLT_PIN => "RAMPS_Dn_PIN"

Scott Lahteine 8 years ago
parent
commit
49997e2e22
5 changed files with 32 additions and 32 deletions
  1. 1
    1
      Marlin/pins_FELIX2.h
  2. 1
    1
      Marlin/pins_MKS_13.h
  3. 1
    1
      Marlin/pins_MKS_BASE.h
  4. 25
    25
      Marlin/pins_RAMPS.h
  5. 4
    4
      Marlin/pins_SAINSMART_2IN1.h

+ 1
- 1
Marlin/pins_FELIX2.h View File

@@ -30,7 +30,7 @@
30 30
 
31 31
 #define BOARD_NAME "Felix 2.0+"
32 32
 
33
-#define HI_VOLT_PIN_D 7
33
+#define MOSFET_D_PIN 7
34 34
 
35 35
 #include "pins_RAMPS.h"
36 36
 

+ 1
- 1
Marlin/pins_MKS_13.h View File

@@ -35,7 +35,7 @@
35 35
 
36 36
 #define BOARD_NAME "MKS > v1.3"
37 37
 
38
-#define HI_VOLT_PIN_D 7
38
+#define MOSFET_D_PIN 7
39 39
 
40 40
 #include "pins_RAMPS.h"
41 41
 

+ 1
- 1
Marlin/pins_MKS_BASE.h View File

@@ -30,6 +30,6 @@
30 30
 
31 31
 #define BOARD_NAME "MKS BASE 1.0"
32 32
 
33
-#define HI_VOLT_PIN_D 7
33
+#define MOSFET_D_PIN 7
34 34
 
35 35
 #include "pins_RAMPS.h"

+ 25
- 25
Marlin/pins_RAMPS.h View File

@@ -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

+ 4
- 4
Marlin/pins_SAINSMART_2IN1.h View File

@@ -30,9 +30,9 @@
30 30
 
31 31
 #define BOARD_NAME "Sainsmart"
32 32
 
33
-#define HI_VOLT_PIN_A  9 // E
34
-#define HI_VOLT_PIN_B  7 // F PART FAN in front of board next to Extruder heat
35
-     // HI_VOLT_PIN_C  8 // B
36
-#define HI_VOLT_PIN_D 10 // F / E
33
+#define RAMPS_D10_PIN 9 // E
34
+#define RAMPS_D9_PIN  7 // F PART FAN in front of board next to Extruder heat
35
+     // RAMPS_D8_PIN  8 // B
36
+#define MOSFET_D_PIN 10 // F / E
37 37
 
38 38
 #include "pins_RAMPS.h"

Loading…
Cancel
Save