I'm trying to build a system to program on and control a motor. The motor can be connected(and powered) via USB to a PC and I can use some C API functions to control it on the PC. I just want to ask is it possible to embed the program in an Arduino board? It looks like I have to use the USB host shield on the arduino, but I'm not sure how I can make Arduino act like a port on PC and talk to the motor using those C APIs.
Thanks in advance!