Change TMC serial to hardware. E0/E1 use same address for now

This commit is contained in:
Patrick Moessler 2019-12-28 21:40:12 +01:00
parent 80d7bf49d7
commit 9eff39a074

View file

@ -2025,30 +2025,24 @@
#define Y2_SLAVE_ADDRESS 0
#define Z2_SLAVE_ADDRESS 0
#define Z3_SLAVE_ADDRESS 0
#define E0_SLAVE_ADDRESS 0
#define E1_SLAVE_ADDRESS 1
#define E2_SLAVE_ADDRESS 2
#define E0_SLAVE_ADDRESS 2
#define E1_SLAVE_ADDRESS 2
#define E2_SLAVE_ADDRESS 0
#define E3_SLAVE_ADDRESS 0
#define E4_SLAVE_ADDRESS 0
#define E5_SLAVE_ADDRESS 0
//
// Software serial
// TMC serial
//
#define X_SERIAL_TX_PIN 14
#define X_SERIAL_RX_PIN 15
#define Y_SERIAL_TX_PIN 14
#define Y_SERIAL_RX_PIN 15
#define Z_SERIAL_TX_PIN A7
#define Z_SERIAL_RX_PIN 34
#define E0_SERIAL_TX_PIN A7
#define E0_SERIAL_RX_PIN 34
#define E1_SERIAL_TX_PIN A7
#define E1_SERIAL_RX_PIN 34
#define X_HARDWARE_SERIAL Serial3
#define Y_HARDWARE_SERIAL Serial3
#define Z_HARDWARE_SERIAL Serial3
#define E0_HARDWARE_SERIAL Serial3
#define E1_HARDWARE_SERIAL Serial3
// Reduce baud rate to improve software serial reliability
#define TMC_BAUD_RATE 19200
#define TMC_BAUD_RATE 38400
/**
* Software enable