串口
Electrical_IT
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python3 GUI用户界面总结(以串口调试为例,持续改进)
涉及到的python库tkinterPython - Tkinter Text - Tutorialspoint https://www.tutorialspoint.com/python/tk_text.htmGraphical User Interfaces with Tk — Python 3.8.5 documentation https://docs.python.org/3/library/tk.htmlserial打包GUI为exe文件如果要脱离python环境使用,则原创 2020-07-23 18:39:26 · 3135 阅读 · 2 评论 -
python用pyserial读取串口问题解决
错误类型及解决object is not callablecould not open portobject is not callableError:‘bool’ object is not callable没有返回值正确代码:ser = serial.Serial('COM7', 115200, 8, 'N', 1)flag = ser.is_open原因:调用属性is_open时将其视为函数,写成 ser.is_open()。关于is_open的功能及用法,可参见python库原创 2020-07-09 10:33:08 · 30064 阅读 · 3 评论
分享