Re-Arm 4x TMC2208 stepper improvement (#13819)

This commit is contained in:
Chris 2019-05-05 00:26:13 +02:00 committed by Scott Lahteine
parent e7b3720b81
commit fd9d3ae181

View File

@ -106,6 +106,35 @@
#define TMC_SW_SCK P1_09 // ETH #define TMC_SW_SCK P1_09 // ETH
#endif #endif
#if HAS_DRIVER(TMC2208)
/**
* TMC2208 stepper drivers
*
* Hardware serial communication ports.
* If undefined software serial is used according to the pins below
*/
/**
* Software serial
*/
// P2_08 E1-Step
// P2_13 E1-Dir
#define X_SERIAL_TX_PIN P2_13
#define X_SERIAL_RX_PIN P2_13
#define Y_SERIAL_TX_PIN P0_00
#define Y_SERIAL_RX_PIN P0_00
#define Z_SERIAL_TX_PIN P0_01
#define Z_SERIAL_RX_PIN P0_01
#define E0_SERIAL_TX_PIN P2_08
#define E0_SERIAL_RX_PIN P2_08
#endif
// //
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input