摘要:1. 通过stty工具设置串口参数,例如 stty -F /dev/ttyUSB0 raw speed 9600 -echo min 0 time 10 上例设置了ttyUSB0设备的数据流格式为raw,波特率9600,-echo表示不回显输入字符(-号在选项前面表示否定),min 0 表示读取内容
阅读全文
posted @ 2018-03-13 11:40
posted @ 2018-03-13 11:40
posted @ 2018-03-12 18:27
posted @ 2018-03-12 17:49
Copyright © 2025 阿扎
Powered by .NET 9.0 on Kubernetes