I'm entering a number between 0-255 in the text box.I want to send this number to PIC via serial port when the command button clicks.
The problem is, it only send numbers between 1 to 9.From 10 onwards it won't send because the VB6 thinks it is more than 1 character.
I want to send the byte out.
The problem is, it only send numbers between 1 to 9.From 10 onwards it won't send because the VB6 thinks it is more than 1 character.
I want to send the byte out.
Code:
Private Sub Command1_Click()
MSComm1.Output = Text1.Text
End Sub