11 years, 5 months ago.

AX12 set float angle

Hi,

I would like to set a float angle on servo AX12. I'm using the this lib:

http://mbed.org/users/chris/code/AX12/docs/tip/classAX12.html.

Someone know if this is possible? If yes, how I can do that?

1 Answer

11 years, 5 months ago.

Hi,

Looking at the code there is a 10 bit register for the position, so it looks like it is possible to set the position with sub-degree precision. The existing class keeps it simple with integer maths.

If you want want to write some additional code to enable the agnle to be set as a float, I'd be more than happy to fold the code back into the repository, or I could add you as a developer.

Thanks, Chris