摘要: 程序发送456,如果收到123则认为发送成功,重发次数3次,每次检测时间间隔1秒,效果如下 #region 串口发送 //str 是发送的字符,retry_num 是重发次数timeout 是超时时间 public bool UartSend(string str,UInt32 retry_num, 阅读全文
posted @ 2020-09-08 11:33 阿坦 阅读(626) 评论(0) 推荐(0)