I’ve been hacking on this a bit. There’s no reason why the basic pyuarm code can’t be used for the Swift or SwiftPro as well as uArm Metal.
In my experience so far, the code can be mostly made to work via conditional import of protocol.py .
Check out GitHub - jetdillo/pyuarm: uArm python library
to see how I’ve been tackling the problem. It works for me, but as always, I’d appreciate others checking it out, trying it, sending me bug reports, PRs, etc.
It would be good have a single library that works with different versions/generations of uArm.
2341:0042
USB VID:PID=2341:0042 LOCATION=3-3.1
pyuarm - INFO - pyuarm version: 2.3.0.11
pyuarm - INFO - swift
pyuarm - INFO - Detected uArm model swift
pyuarm - INFO - Connecting from port - /dev/ttyACM0…
pyuarm - INFO - Connected…
But then the screen wouldn’t interact anymore.
I am using python 2.7 - maybe that is the reason?
Any other idea?
Thanks
Dror