Change TMC serial to hardware. E0/E1 use same address for now
This commit is contained in:
parent
80d7bf49d7
commit
9eff39a074
1 changed files with 11 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue