Serial.list() not working on windows 7

I am including the Serial library in my sketch to read an Arduino board. This works fine on the mac but on windows, calling Serial.list() returns a couple of empty lines, followed by a number? I'm using an Intel NUC. The specs say that this computer does have two serial ports. How to read them with Processing?

My code:

println(Serial.list());
//find out what port is correct in windows:
//myPort = new Serial(this, Serial.list()[5], 9600);
Tagged:
Sign In or Register to comment.