How to access USB port using pySerial (Windows)?

匿名 (未验证) 提交于 2019-12-03 01:26:01

问题:

I am trying to open USB port in Python (using pySerial). I ran port listing tool, but it only shows COM ports. I'd like to open USB port instead (trying to communicate with tablet, but that's not relevant, I suppose). I know it is possible (and quite easy) on Linux, but I am on Windows 8, so there's nothing like "/dev/tty...".

I'd like to show you some of my code, but I can't, because I have none yet (I need to know how to open USB port to be able to start coding, I am just testing yet).

Maybe I will have to install some other module, but I'd rather just stay with pySerial, if it's possible.

Can anyone help me with opening USB port?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!