thanks for the reply. i got around to working on this today, and its functioning now. among other problems, the microchip was sending "dec" bytes.
really appreciate the help.
another tiny issue is that if i send bytes to the microcontroller, they are the ascii representation of the text, :
send 123, the micro gets it as 49 50 51 .
i want them as bytes, so im trying the byteconverter lib.
here's my code
Dim strbytes() As Byte ' in sub global
Sub btnSend_Click
' AStream.Write(BConv.STRINGToByteS(txtInput.Text, "utf8"))
' AStream.Write(txtInput.Text.GetBytes("UTF8"))
strbytes = BConv.stringtobytes(txtInput.Text, "utf8")
AStream.Write(strbytes)
txtInput.SelectAll
txtInput.RequestFocus
LogMessage("SEND", txtInput.Text)
End Sub
im still getting the same ascii bytes at the microcontroller, even after using this code with byte converter,
what im i doing wrong?
thanks for reading.