以编程方式访问 USB 端口 [英] Accessing USB port programmatically
本文介绍了以编程方式访问 USB 端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在研究 MSP430 系列 MCU.
我设计了一个 GUI(使用 wxPython).现在我想用GUI控制微控制器,但是我在python中找不到任何可以将数据发送到USB端口以便微控制器可以识别它的模块.
I was doing some work on MSP430 series MCU.
I have designed a GUI (using wxPython). Now I want to control microcontroller with GUI, but I can't find any modules in python that can send data to the USB port so that the microcontroller can identify it.
有没有可以向/从USB端口发送和接收数据的模块?
Does there exist any module that can send and receive data to/from USB port?
提前致谢.
推荐答案
libusb is what you're after. PyUSB may be worth taking a look at also.
这篇关于以编程方式访问 USB 端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文