rafaellantonio / arduinoscope

Automatically exported from code.google.com/p/arduinoscope
0 stars 0 forks source link

Select a different serial port #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect the Arduino to a system on a port other than the first one
identified by Processing.Serial
2. Get no data

What is the expected output? What do you see instead?
A way to change which serial port the arduinoscope is listening on

What version of the product are you using? On what operating system?
trunk/ on Windows

Please provide any additional information below.
I'd played around with adding a controlP5.ScrollList but wasn't really able
to get it to compile.  Diff available if it's helpful.

Original issue reported on code.google.com by jpvlsmv@gmail.com on 21 Sep 2009 at 8:43

GoogleCodeExporter commented 8 years ago
To change the port, find the line like this:
port = new Serial(this, Serial.list()[0], 115200);

Change the Serial.list()[0] part to the num of your port: Serial.list()[1] or 
whatever.

My example patches are just that, I leave it up to the user to figure out how 
they
want it to work. That said, if you wanna submit a new example, I'd be happy to
include it.

Original comment by david.ko...@gmail.com on 21 Sep 2009 at 9:42