摘要: tcp/socket通信 封装发送功能,接收功能独立分开定义server类和client类,可以直接继承使用后续可以将串口初始化信息,放入配置文件# 服务器端代码++++++++++++++++++++++++... 阅读全文
posted @ 2018-09-21 14:50 neo3301 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 将串口通信封装成一个moduleimport timeimport _threadimport serialimport threadingclass myserial: recdata = "" d... 阅读全文
posted @ 2018-09-21 14:49 neo3301 阅读(67) 评论(0) 推荐(0) 编辑