-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I2C Commands etc #2
Comments
Speed 100k Commands Send 0x02, MOTOR_SET_COUNT 0x03 MOTOR_SET_TARGET 0x04 MOTOR_GET_TARGET 0x05 MOTOR_SET_TICKS 0x06 MOTOR_SET_DIR_RES 0x7 |
Speed timer frecuency 48khz Resolution |
Thanks. I'm trying to write an Arduino library to implement into other codes. I'm sorry if I sound ignorant for asking, but what are the differences between ticks, target, and count. Like, what would the stepper do in sending MOTOR_SET_COUNT vs MOTOR_SET_TARGET vs MOTOR_SET_TICKS (plus 4bytes)? Also, with resolutions, are you to say that sendin MOTOR_SET_DIR_RES + [(uint32_t) value = 1] would set it to 32 msteps, [value = 2] = 16 msteps, etc? |
I have wrote some arduino code to check
|
Where can I find the i2c commands, address, etc?
The text was updated successfully, but these errors were encountered: