Browse Source

Megatronics 3 servo pins

- Naive implementation, assuming the data sheet pin numbers correspond
to Arduino pin numbers.
pull/1/head
Scott Lahteine 10 years ago
parent
commit
d0ad8a978c
  1. 14
      Marlin/pins_MEGATRONICS_3.h

14
Marlin/pins_MEGATRONICS_3.h

@ -8,6 +8,20 @@
#define LARGE_FLASH true #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_STEP_PIN 58
#define X_DIR_PIN 57 #define X_DIR_PIN 57
#define X_ENABLE_PIN 59 #define X_ENABLE_PIN 59

Loading…
Cancel
Save