python

使用python下的pyserial进行串口测试和设备调用

硬件开发不可避免要与串口打交道,使用python下的pyserial可以使串口测试和设备调用的工作自动化。这里介绍pyserial的一些基础知识。

1、安装pyserial

linux上直接安装: