Skip to content
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

Incorrect write #5

Open
darwikey opened this issue May 1, 2017 · 1 comment
Open

Incorrect write #5

darwikey opened this issue May 1, 2017 · 1 comment

Comments

@darwikey
Copy link

darwikey commented May 1, 2017

The function sendPacket always writes 2 bytes into the XL320 ram. Sometimes it's incorrect because some registers are only one byte width.
For example : the fonction to write servo ID writes also in baudrate register. It's why in the readme it's written:

Note: when setting the ServoID, the servos default down to 9600 baud, so after you set the servoID you'll need to set the baud rate back up to 115200.

@darwikey
Copy link
Author

darwikey commented May 1, 2017

I fixed it on my repo:
https://github.com/xenomorphales/Ceres2.0/blob/master/Main/XL320.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant