I’m trying to use Python to create a wrapper that will interact with a Granite servo motor using the SimpleMotion V2 API. However, I when I try to open the bus using “smbus smOpenBus( const char * devicename )” I get a return of “0”. Which according to the documentation is never returned.
SM_NONE (integer value 0)
Now I know it accesses the COM port because once I run the command, the COM port is locked to all other devices. But the return code baffles me.
Any help or insight would be appreciated.