7,785
社区成员




Dim Out(9) As Byte
Out(0) = &H55
Out(1) = &HEE
Out(2) = &H50
Out(3) = &H33
Out(8) = &HC6
'//Send code:55 EE 50 33 0 0 0 0 C6
Comm.Output = Out
Sleep 500
If Comm.InBufferCount < 5 Then Exit Sub '//实际字节数应为9,考虑到调试时可能收不完
Dim DataBuff As Variant
Dim DTcount As Integer
DoEvents
DTcount = Comm.InBufferCount
DataBuff = Comm.Input