Define servo pins just like other pins

This commit is contained in:
Scott Lahteine
2015-08-02 19:22:30 -07:00
committed by Richard Wackerbarth
parent 4b9d5cd352
commit 56702e7bb9
8 changed files with 21 additions and 83 deletions

View File

@@ -10,18 +10,10 @@
#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 SERVO0_PIN 30
#define SERVO1_PIN 31
#define SERVO2_PIN 32
#define SERVO3_PIN 33
#define X_STEP_PIN 62//A8
#define X_DIR_PIN 63//A9