Hi all,
my problem is to write to a wifi socket connected to a led display.
The Display accepts a 22 byte string, but some of the required chars are chr(177) to chr(186).
When I assign the string to buffer the buffer of course gets negative values.. and the display will not generate any output.
Any suggestion?
Sub writeTotemString(ps_message As String)
Dim buffer() As Byte = ps_message.GetBytes("UTF8")
astreamTotem.Write(buffer)
End Sub
example:
Buffer(3) : -62 (0xFFFFFFC2)