I can scroll the window in the message window of arduino
I reset like you said me in processing but nothing happen. But I discove something.
When I establish the port in Arduino:
port = new Serial(this, "/dev/tty.usbserial-A4OOOPEj", 9600); //>
the three are letter O in capitals proecessing runs a print all the ports like I said you before but when i write the same thing changing the the lettes o to ceros that is the name of the real port -looking at the list of ports printed in processing-:
port = new Serial(this, "/dev/tty.usbserial-A4
000PEj", 9600);
[glow]AN ERROR OCCURS IN JAVA[/glow]
Available serial ports:
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
- "/dev/tty.usbserial-A4000PEj"
[1] "/dev/cu.usbserial-A4000PEj"
[2] "/dev/tty.Sniffer-NokiaPCSuite-1"
[3] "/dev/cu.Sniffer-NokiaPCSuite-1"
[4] "/dev/tty.Bluetooth-PDA-Sync"
[5] "/dev/cu.Bluetooth-PDA-Sync"
[6] "/dev/tty.Sniffer-Dial-upnetworki-2"
[7] "/dev/cu.Sniffer-Dial-upnetworki-2"
[8] "/dev/tty.Bluetooth-Modem"
[9] "/dev/cu.Bluetooth-Modem"
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at Temporary_9620_5234.serialEvent(Temporary_9620_5234.java:57)
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at Temporary_9620_5234.serialEvent(Temporary_9620_5234.java:57)
at Temporary_9620_5234.draw(Temporary_9620_5234.java:45)
at processing.core.PApplet.handleDisplay(PApplet.java:1359)
at processing.core.PGraphics.requestDisplay(PGraphics.java:680)
at processing.core.PApplet.run(PApplet.java:1454)
at java.lang.Thread.run(Thread.java:613)
at Temporary_9620_5234.draw(Temporary_9620_5234.java:45)
at processing.core.PApplet.handleDisplay(PApplet.java:1359)
at processing.core.PGraphics.requestDisplay(PGraphics.java:680)
at processing.core.PApplet.run(PApplet.java:1454)
at java.lang.Thread.run(Thread.java:613)