|
|
@ -65,7 +65,7 @@ int umain(int argc, char const *argv[]) { |
|
|
|
tmc2160motor1.enableIC(true); |
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief |
|
|
|
* @brief |
|
|
|
* PPS = 1000000 |
|
|
|
* RPS = 1000000/200/256 |
|
|
|
* RPM = 1000000/200/256*60 |
|
|
@ -81,7 +81,7 @@ int umain(int argc, char const *argv[]) { |
|
|
|
|
|
|
|
tmc4361motor1.setMaximumAcceleration(300000); |
|
|
|
tmc4361motor1.setMaximumDeceleration(300000); |
|
|
|
tmc4361motor1.moveTo(41370340, 1000000); |
|
|
|
tmc4361motor1.moveTo(8000000, 1000000); |
|
|
|
|
|
|
|
while (true) { |
|
|
|
port_do_debug_light_state(); |
|
|
|