标题: python串口调试 [打印本页]

作者: 微分    时间: 2018-9-13 11:24
标题: python串口调试
python中串口的写入指令:
  首先安装serial模块,其次打开串口ser=serial.Serial('COM1',115200,timeout=None),最后就可以向串口写入数据了ser.write(b'log gpgga ontime 1')

作者: roottan    时间: 2018-11-18 02:30
python 多能啊,什么多可以用




欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1