We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I have some depressed problems about my project. I'm trying to connect Processing and Arduino by bluetooth I can't use Serial.write() in the version below processing 1.5.1 but can use Integer.parseInt() However, the version upon processing 2.0 can use Serial.write() but not Integer.parseInt() Since, I need both of the function...
Answers
This works as expected in 2.1
println(Integer.parseInt("10"));
Processing got its own integer converter function too -> int():
processing.org/reference/intconvert_.html
A problem often seen with Arduino is curred with:
int v = int(string.trim());