Browse Source

🚸 TH3D EZBoard V2 TMC slave addresses (#23857)

Keith Bennett 3 years ago
parent
commit
c6a6d35f0d
No account linked to committer's email address
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      Marlin/src/pins/stm32f4/pins_TH3D_EZBOARD_V2.h

+ 14
- 0
Marlin/src/pins/stm32f4/pins_TH3D_EZBOARD_V2.h View File

130
 
130
 
131
   // Reduce baud rate to improve software serial reliability
131
   // Reduce baud rate to improve software serial reliability
132
   #define TMC_BAUD_RATE                    19200
132
   #define TMC_BAUD_RATE                    19200
133
+
134
+  // Default TMC slave addresses
135
+  #ifndef X_SLAVE_ADDRESS
136
+    #define X_SLAVE_ADDRESS  0
137
+  #endif
138
+  #ifndef Y_SLAVE_ADDRESS
139
+    #define Y_SLAVE_ADDRESS  1
140
+  #endif
141
+  #ifndef Z_SLAVE_ADDRESS
142
+    #define Z_SLAVE_ADDRESS  2
143
+  #endif
144
+  #ifndef E0_SLAVE_ADDRESS
145
+    #define E0_SLAVE_ADDRESS 3
146
+  #endif
133
 #endif
147
 #endif
134
 
148
 
135
 //
149
 //

Loading…
Cancel
Save