Move servos to the top in pins_MEGACONTROLLER.h

This commit is contained in:
Scott Lahteine 2015-07-23 19:38:33 -07:00 committed by Richard Wackerbarth
parent 90f8ddfc1e
commit 932f1c109e

View File

@ -9,6 +9,20 @@
#if EXTRUDERS > 2
#error Mega Controller supports up to 2 extruders. Comment this line to keep going.
#endif
#ifdef NUM_SERVOS
#define SERVO0_PIN 30
#if NUM_SERVOS > 1
#define SERVO1_PIN 31
#if NUM_SERVOS > 2
#define SERVO2_PIN 32
#if NUM_SERVOS > 3
#define SERVO3_PIN 33
#endif
#endif
#endif
#endif // NUM_SERVOS
#define X_STEP_PIN 62//A8
#define X_DIR_PIN 63//A9
#define X_ENABLE_PIN 61//A7
@ -74,20 +88,6 @@
#define TEMP_BED_PIN 1 // ANALOG NUMBERING
#endif
#ifdef NUM_SERVOS
#define SERVO0_PIN 30
#if NUM_SERVOS > 1
#define SERVO1_PIN 31
#if NUM_SERVOS > 2
#define SERVO2_PIN 32
#if NUM_SERVOS > 3
#define SERVO3_PIN 33
#endif
#endif
#endif
#endif// NUM_SERVOS
#ifdef MINIPANEL
#define BEEPER 46
// Pins for DOGM SPI LCD Support