C# 串口读取并转换字符串
摘要:
public string ReadString() { ASCIIEncoding ascii = new ASCIIEncoding(); byte[] readBuffer = new byte[serialPort.BytesToRead]; serialPort.Read(readBuff 阅读全文
posted @ 2021-11-04 15:43 三千世界a 阅读(1061) 评论(0) 推荐(0) 编辑