USBpl2303 Help Please

Rigsby

Member
Licensed User
Longtime User
I have PL2303 USB to RS232 adaptor driver from agraham loaded and working proof of concept just fine.

But I'm struggling with such a simple thing like this.

To output a single Hello world string. This does not output what I expected.

Anyhelp would be much appreciated. Thanks Rigsby.


Dim f As String
Dim buffer() As Byte
f = "HELLO WORLD"
buffer=f.GetBytes("UTF8")
USBpl2303.WriteData(buffer, buffer.length)
 

Rigsby

Member
Licensed User
Longtime User
Dear Erel.

I was converting the string to EIA codeset not ISO at the receiving computer. Totally my stupid fault.

It works fine. Thank you for your help as ever.

R.
 
Upvote 0
Top