|
@ -38,15 +38,53 @@ |
|
|
#define SERVO0_PIN P1_23 // SERVO P1.23
|
|
|
#define SERVO0_PIN P1_23 // SERVO P1.23
|
|
|
#define SERVO1_PIN P2_00 // SERVO P2.0
|
|
|
#define SERVO1_PIN P2_00 // SERVO P2.0
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// Trinamic Stallguard pins
|
|
|
|
|
|
//
|
|
|
|
|
|
#define X_DIAG_PIN P1_29 // X-
|
|
|
|
|
|
#define Y_DIAG_PIN P1_27 // Y-
|
|
|
|
|
|
#define Z_DIAG_PIN P1_25 // Z-
|
|
|
|
|
|
#define E0_DIAG_PIN P1_28 // X+
|
|
|
|
|
|
#define E1_DIAG_PIN P1_26 // Y+
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Limit Switches
|
|
|
// Limit Switches
|
|
|
//
|
|
|
//
|
|
|
#define X_MIN_PIN P1_29 |
|
|
#if X_STALL_SENSITIVITY |
|
|
#define X_MAX_PIN P1_28 |
|
|
#define X_STOP_PIN X_DIAG_PIN |
|
|
#define Y_MIN_PIN P1_27 |
|
|
#if X_HOME_DIR < 0 |
|
|
#define Y_MAX_PIN P1_26 |
|
|
#define X_MAX_PIN P1_28 // X+
|
|
|
#define Z_MIN_PIN P1_25 |
|
|
#else |
|
|
#define Z_MAX_PIN P1_24 |
|
|
#define X_MIN_PIN P1_28 // X+
|
|
|
|
|
|
#endif |
|
|
|
|
|
#else |
|
|
|
|
|
#define X_MIN_PIN P1_29 // X-
|
|
|
|
|
|
#define X_MAX_PIN P1_28 // X+
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if Y_STALL_SENSITIVITY |
|
|
|
|
|
#define Y_STOP_PIN Y_DIAG_PIN |
|
|
|
|
|
#if Y_HOME_DIR < 0 |
|
|
|
|
|
#define Y_MAX_PIN P1_26 // Y+
|
|
|
|
|
|
#else |
|
|
|
|
|
#define Y_MIN_PIN P1_26 // Y+
|
|
|
|
|
|
#endif |
|
|
|
|
|
#else |
|
|
|
|
|
#define Y_MIN_PIN P1_27 // Y-
|
|
|
|
|
|
#define Y_MAX_PIN P1_26 // Y+
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if Z_STALL_SENSITIVITY |
|
|
|
|
|
#define Z_STOP_PIN Z_DIAG_PIN |
|
|
|
|
|
#if Z_HOME_DIR < 0 |
|
|
|
|
|
#define Z_MAX_PIN P1_24 // Z+
|
|
|
|
|
|
#else |
|
|
|
|
|
#define Z_MIN_PIN P1_24 // Z+
|
|
|
|
|
|
#endif |
|
|
|
|
|
#else |
|
|
|
|
|
#define Z_MIN_PIN P1_25 // Z-
|
|
|
|
|
|
#define Z_MAX_PIN P1_24 // Z+
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Z Probe (when not Z_MIN_PIN)
|
|
|
// Z Probe (when not Z_MIN_PIN)
|
|
|