Hi folks,
K8096: is there a way to read the number of carried-out motor steps via the USB interface?
As far as I understood the USB interface allows me the read the current status of the stepper motor (moving, left/right, torque, inputs, …). But I cannot figure out how many steps the motor has already moved… So the USB host computer has no idea about the current motor position.
Background:
I’m developing an Android USB host application. I have analyzed the Velleman USB API and I’m already able to control the stepper card from plain Android host API (using USB interface #1 with bulk read/writes). So far so good.
But there’s another USB interface #0 (with one interrupt IN endpoint) which seems pretty promising. But I couldn’t figure out how to use it to receive motor step interrupts…
Any help is appreciated.
Best regards,
Martin