ArduinoExamples icon indicating copy to clipboard operation
ArduinoExamples copied to clipboard

Does not work on windows

Open XIDA opened this issue 11 years ago • 0 comments

The com ports are simply named "com1", "com2" and so on on windows. So this will not work.

var eligiblePorts = ports.filter(function(port) {
    return !port.match(/[Bb]luetooth/) && port.match(/\/dev\/tty/);
 });

but this will

var eligiblePorts = ports.filter(function(port) {
    return !port.match(/[Bb]luetooth/);
  });

XIDA avatar Jun 04 '13 06:06 XIDA