且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

没有pyserial的Python串行

更新时间:2022-11-30 16:47:05

环顾四周我发现了这个例子一>.

来自网站:

arduinoserial.py 是 Tod E. Kurt 的 arduino-serial.c 程序的 Python 端口,用于通过串行端口与 Arduino 微控制器板进行通信.它只使用标准 Python 模块(特别是 termios 和 fcntl),不需要任何特殊的串行通信模块.

arduinoserial.py is a Python port of Tod E. Kurt's arduino-serial.c program for communicating with an Arduino microcontroller board over a serial port. It only uses standard Python modules (notably termios and fcntl) and does not require any special serial communications modules.

就像 Tod 的程序一样,您可以从命令行使用它.

Like Tod's program, you can use it from the command line.