|
|
@ -94,8 +94,8 @@ void umain() { |
|
|
|
ZLOGI(TAG, "motora initialize 5160:%x ", g_motor.readICVersion()); |
|
|
|
} |
|
|
|
|
|
|
|
g_motor.setAcceleration(300000); |
|
|
|
g_motor.setDeceleration(300000); |
|
|
|
g_motor.setAcceleration(100); |
|
|
|
g_motor.setDeceleration(100); |
|
|
|
g_motor.setIHOLD_IRUN(0, 8, 10); |
|
|
|
|
|
|
|
g_motor.rotate(0); |
|
|
|