R Rigsby Member Licensed User Longtime User Feb 11, 2013 #1 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)
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)
Erel B4X founder Staff member Licensed User Longtime User Feb 12, 2013 #2 What is the output? Upvote 0
R Rigsby Member Licensed User Longtime User Feb 12, 2013 #3 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
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.