"Processing and Mega 2560"
in
Integration and Hardware
•
11 months ago
"Processing and Mega 2560"
I trying to use arduinoscope with the Arduino Mega 2560.
Processing reports:
ArrayIndexOutOfBoundsException: 0
See Arduinoscope here: http://code.google.com/p/arduinoscope/wiki/Usage
I trying to use arduinoscope with the Arduino Mega 2560.
Processing reports:
ArrayIndexOutOfBoundsException: 0
Code:
port = new Serial(this, Serial.list()[0], 115200);
I don't get this with the ArduinoDuemilanove. Unfortunately I need it to run using the Mega 2560 as that's my spare at the moment.
See Arduinoscope here: http://code.google.com/p/arduinoscope/wiki/Usage
I installed the Processing library for arduinoMega: processing-arduinomega.zip from
http://www.arduino.cc/playground/interfacing/processing
but the result is the same.
Yes Ubuntu.
Processing-1.5.1
Yes, I am able to upload arduinoscope.pde to the Mega.
Any Ideas?
Thanks much!
Quote
ArrayIndexOutOfBoundsException: 0
Code:
port = new Serial(this, Serial.list()[0], 115200);
Quote
Is this on ubuntu?
Yes Ubuntu.
Processing-1.5.1
Yes, I am able to upload arduinoscope.pde to the Mega.
Any Ideas?
Thanks much!
1