网站介绍:文章浏览阅读2.1w次。在http://pyserial.sourceforge.net/index.html上下载最新的windows版的安装包,然后装到python的目录下面,我装到了2.5的下面。打开一个python shellimport serial导入模块然后就可以用了ser = serial.Serial(0) 是打开第一个串口print ser.portstr 能看到第一个串口的标识,windows下是COM1ser.w_pyserial用法
- 链接地址:https://blog.csdn.net/xbl1986/article/details/6315386
- 链接标题:pySerial使用初步_pyserial用法-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:9498
- 网站标签:pyserial用法