登录
首页 串口通信 串口通信
回帖 发帖
正文

主题:请教用vb编程串行传输hex文件到单片机的方法[求助]

点击:2353 回复:1


最后修改:2003-3-28 17:17:09
03-03-28 17:17
Dim outstring(0 To 5) As Byte
outstring(0) = "&HFE"
outstring(1) = "&H30"
outstring(2) = "&H00"
outstring(3) = "&H00"
outstring(4) = "&H30"
outstring(5) = "&HFE"
If MSComm1.PortOpen = False Then MSComm1.PortOpen = True
MSComm1.Output = outstring
表情
03-04-25 12:56

工控新闻

更多新闻资讯