Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Processing RS-232 data corruption.

$
0
0
Note: you should avoid pasting images for textual information. It makes the thread heavier (not so important these days, but still) and more importantly, the information cannot be searched nor copy & pasted.

I am not a serial specialist (never used it) but myPort.read() reads a byte, not a char. These are different in Java. char is a 16-bit unsigned, Unicode value. Perhaps try readChar().

Viewing all articles
Browse latest Browse all 1768

Trending Articles