Megatronics 3 servo pins

- Naive implementation, assuming the data sheet pin numbers correspond
to Arduino pin numbers.
This commit is contained in:
Scott Lahteine 2015-02-11 23:46:27 -08:00
parent d75cd69de4
commit d0ad8a978c

View File

@ -8,6 +8,20 @@
#define LARGE_FLASH true
// Servo support
#ifdef NUM_SERVOS
#define SERVO0_PIN 46 //AUX3-6
#if NUM_SERVOS > 1
#define SERVO1_PIN 47 //AUX3-5
#if NUM_SERVOS > 2
#define SERVO2_PIN 48 //AUX3-4
#if NUM_SERVOS > 3
#define SERVO2_PIN 49 //AUX3-3
#endif
#endif
#endif
#endif
#define X_STEP_PIN 58
#define X_DIR_PIN 57
#define X_ENABLE_PIN 59