Problem whit Serial COM port declaration!

edited January 2015 in Arduino

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...


  • edited January 2015

    If [0] thrown "Array Index Out Of Bounds" Exception, it means Serial.list() returned an empty array! :-SS

Sign In or Register to comment.