吧务
level 13
' 打开串口
If MSComm1.PortOpen = False Then
MSComm1.CommPort = Val(Text1.Text) ' 串口号
MSComm1.Settings = Trim(Text2.Text) ' 串口参数
MSComm1.InputLen = 0 ' 字符长度
MSComm1.RThreshold = 1 ' 读完缓冲
MSComm1.InputMode = 0 ' 文本型数据;1 二进制数据
MSComm1.PortOpen = True ' 打开串口
End If
2015年12月23日 17点12分
5
您好 想问一下gps接收机的端口跟比特率如何设置 怎样才能读取并显示数据
2015年12月24日 13点12分