Maestro API in C

Hi,

I want to drive the Maestro over the USB interface under Linux writing directly to a file descriptor for /dev/ttyACM0. My language of choice is C and it seems an API in C has not been provided in the SDK. Does anyone know if one’s been written? Would be quite simple to do.

Regards,
Jon.

Hello, Jon.

There is no existing API, but if you wanted to write one then a good place to start would be this example code from Paul for Maestro+Serial+Linux+C: How to read the command Get Moving Status

–David

Yeh that’s a good help - actually in line with what I created yesterday which is reassuring. The API is basically functional now - just need to do a bit more testing. It’s a pretty basic wrapper around the servo commands but if anyone wants it let me know.

Regards,
Jon.