Re: send HEX to serial port
In the example, what is it you want to send? "D1" (which in serial bits would be 2 bytes - 0100 1000 and 0011 0001) or the value 209 (which, in serial bits would be 1101 0001)? Where, in the real program, are you getting the value(s) to send? How are you defining the variable that holds them (byte, string, some type of array)?
Re: send HEX to serial port
Hi
I need to send a Byte to the hardware, it would be in HEX D1 i.e binary 11000001.
Both are defined as Byte. The command can be defined explicitly inside the program
Thanks!
Re: send HEX to serial port
You could send Chr$(209).