Python串口功能实现

来源:互联网 发布:高仿阿迪达斯鞋淘宝店 编辑:程序博客网 时间:2024/05/16 05:10

由于工作原因需要验证串口的通讯功能顺带验证单片机的稳定性

其实在《Linux嵌入式高级编程》里有一款基于Python的串口调试工具,不过忘记是啥了

PythonSerial下载点击打开链接,我们下载Source

原文是这样的

Download the archive from http://pypi.python.org/pypi/pyserial. Unpack the archive, enter the pyserial-x.y directory and run:

所以解压,cd C:\Users\XXXX\Desktop\app4test\pyserial-2.7\pyserial-2.7\,最后 python setup.py install,安装成功


0 0
原创粉丝点击