0
import pyuf
import time
from time import sleep
from pyfirmata import Arduino
from uf.wrapper.swift_api import SwiftAPI
swift=SwiftAPI()
port = '/dev/ttyUSB0'
board = Arduino(port)
swift.set_position(x=250,y=0,z=50,speed=1000000)

I have written a code in python,ubuntu environment to set position of the uarm using python3, pyfirmata firmware and pyserial externally downloaded. However on running the python code I am getting the folowing error.

port not found, current filter: {'hwid': 'USB VID:PID=2341:0042'}

How do I resolve this issue?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.