Browse Source

Move servos to the top in pins_MEGACONTROLLER.h

Scott Lahteine 9 years ago
parent
commit
932f1c109e
1 changed files with 14 additions and 14 deletions
  1. 14
    14
      Marlin/pins_MEGACONTROLLER.h

+ 14
- 14
Marlin/pins_MEGACONTROLLER.h View File

9
 #if EXTRUDERS > 2
9
 #if EXTRUDERS > 2
10
   #error Mega Controller supports up to 2 extruders. Comment this line to keep going.
10
   #error Mega Controller supports up to 2 extruders. Comment this line to keep going.
11
 #endif
11
 #endif
12
+
13
+#ifdef NUM_SERVOS
14
+   #define SERVO0_PIN         30
15
+   #if NUM_SERVOS > 1
16
+     #define SERVO1_PIN       31
17
+     #if NUM_SERVOS > 2
18
+       #define SERVO2_PIN     32
19
+       #if NUM_SERVOS > 3
20
+         #define SERVO3_PIN   33
21
+       #endif
22
+     #endif
23
+   #endif
24
+#endif // NUM_SERVOS
25
+
12
 #define X_STEP_PIN 62//A8
26
 #define X_STEP_PIN 62//A8
13
 #define X_DIR_PIN 63//A9
27
 #define X_DIR_PIN 63//A9
14
 #define X_ENABLE_PIN 61//A7
28
 #define X_ENABLE_PIN 61//A7
74
   #define TEMP_BED_PIN 1 // ANALOG NUMBERING
88
   #define TEMP_BED_PIN 1 // ANALOG NUMBERING
75
 #endif
89
 #endif
76
 
90
 
77
-#ifdef NUM_SERVOS
78
-   #define SERVO0_PIN         30
79
-
80
-   #if NUM_SERVOS > 1
81
-     #define SERVO1_PIN         31
82
-     #if NUM_SERVOS > 2
83
-       #define SERVO2_PIN         32
84
-       #if NUM_SERVOS > 3
85
-         #define SERVO3_PIN         33
86
-       #endif
87
-     #endif
88
-   #endif
89
-#endif// NUM_SERVOS
90
-
91
 #ifdef MINIPANEL
91
 #ifdef MINIPANEL
92
     #define BEEPER 46
92
     #define BEEPER 46
93
     // Pins for DOGM SPI LCD Support
93
     // Pins for DOGM SPI LCD Support

Loading…
Cancel
Save