摘要: 1. 查看可用串口命令 ls /dev/chesis/ -l 也可以使用 ls /dev/*USB* -l 查看,但是串口可能会发生改变,故使用chesis查看更为安全 2.需要安装及导入的包: 串口包:serial 结构体包:struct c++数据类型包:ctypes 3.发送命令的代码: 1 阅读全文