Question Locked

Sending hex data serially from PC to PIC controller

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

answer this please,
i attempted to send hex data serially from PC to my PIC controller.
i used the following code
//
Private Sub cmdSend_Click()
Dim i As Integer
Dim c As String
i = Text1.Text
c = Hex$(i)
Label1.Caption = c
MSComm1.Output = Text1.Text
End Sub//
but the data displayed was different. send me code to use this purpose.

3 replies

This discussion is closed to new replies.