A
alphatommy_at_hotmail_dot_com
Hi,
I need to read data coming from serial port of type ushort(16-bits,
unfortunately this can not be changed). I have tried reading using
ReadChar (32-bits) and ReadByte(8 bits) with no success. When trying
to use Port1.ReadChar() somehow the data get messed up. If I try to
use Port1.ReadByte(), I get problem when I encounter values like
0x0001 (I guess it assumes that is it reading null since it is reading
one byte at a time). Any suggestions? Thanks.
I need to read data coming from serial port of type ushort(16-bits,
unfortunately this can not be changed). I have tried reading using
ReadChar (32-bits) and ReadByte(8 bits) with no success. When trying
to use Port1.ReadChar() somehow the data get messed up. If I try to
use Port1.ReadByte(), I get problem when I encounter values like
0x0001 (I guess it assumes that is it reading null since it is reading
one byte at a time). Any suggestions? Thanks.