Vb串口通信
vb吧
全部回复
仅看楼主
level 5
蓝火焰4910 楼主
Vb串口通信需要那些控件跟按键
2015年12月23日 02点12分 1
level 11
只要控件,不用按键
2015年12月23日 03点12分 2
吧务
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分
level 5
蓝火焰4910 楼主
谢谢 我去调试一下
2015年12月24日 01点12分 6
1