First hello to all, I’m brand new to this community!
So forgive me if my questions are basic.
I tried to find answer with a search, but did not find.
As a first attempt, I wish to link an ARDUINO and Processing, using the code found in Sparkfun.
Here is my setup (of course serial library and all other variable have been initialized):
myPort = new Serial(this, Serial.list(), 9600);
I checked in the Reference, and this is how a port should be initialized.
And here, the error I get:
ArrayIndexOutof BoundsException: 9
As far as I understand, the port#9 is not recognized, although it is used by my MEGA.
I tried to input other serial ports numbers, but all ports above 6 (that means 7 and further) are rejected, although they are valid, as I use them for other application.
Is there a limitation on port numbers?? If this is the case, I found no mention in Library docs.
Thanks for your help.