Exception in thread "Thread-2" java.lang.NumberFormatException: for input line: "3"
int test = Integer.parseInt(result[0]);
This is the error I get when I try to convert "3" to an integer. Well, I get this β3β through the RS-232 port, so maybe that is what causes the error.
If anyone knows what might be causing this, it will be appreciated.
source share