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!
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!