Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

COM port setup error

$
0
0
Hello All,
My Arduino is on COM4.  In Processing "println (Serial.list()[1])" prints COM4 as expected.
But  "port = new Serial(this, Serial.list()[1], 9600);" I get a ton of errors, around "error inside Serial.<init>()".  This happens if the Serial.list index is anything other than 0.  (port is defined as an instance of Serial above )
Can you help me?  I am stuck at the starting line!

Viewing all articles
Browse latest Browse all 1768

Trending Articles