AX12 set float angle

05 Nov 2012

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?

05 Nov 2012

The library expects an int for the target position

int SetGoal (int degrees, int flags=0)

So you would have to hack the library or cast the float to an int

Martin