sending hex to rs232 device
was trying to create a simple duet module but encounter this problem, how do i send hex from java to the device? please advice.
Thanks in advance
I'm assuming you mean you need to send binary data, as opposed to ASCII data,
depends on how you need/want to build the packet, but I use a string buffer...
StringBuffer packet = new StringBuffer();
you could also use a character array
thanks the above reply is of great help to me.