We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi to everybody , my name is Lorenzo, i'm from Rome, Italy. Sorry for bad english! I have a problem whit the serial library, i use it to comunicate whit arduino, but when i load some sketchs on processing IDE , it say an error: "Array Index Out Of Bounds exception" an the IDE underline this line: String portName = Serial.list()[0]; What can i do? i have try to load the serial examples like Simple read and write, i try to reinstall java , i use the 2.2.1 Processing IDE. How can i do? Help me please...
Answers
If
[0]
thrown "Array Index Out Of Bounds" Exception, it means Serial.list() returned an empty array! :-SS