We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
测试的工控机,代码不太懂。
The text was updated successfully, but these errors were encountered:
问题应该是pyserial 没法检测到串口,3568这种自带的串口是 /ttyS0 这种吧, pyserial 貌似会忽略,可以手动改一下代码加上 找串口的代码在
COMTool/COMTool/conn/conn_serial.py
Line 408 in 3f6acaf
Sorry, something went wrong.
大学只学过一点C语言,查了AI试过几个方法都没成功。如有大佬们看见请指点下小弟谢谢 Orz
你自己用可以临时改成
def findSerialPort(self): self.port_list = list(serial.tools.list_ports.comports()) return self.port_list + ["/dev/ttyS0", "/dev/ttyS1"]
即手动把你要的加上去
No branches or pull requests
测试的工控机,代码不太懂。
The text was updated successfully, but these errors were encountered: