ArduinoExamples
ArduinoExamples copied to clipboard
Does not work on windows
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/);
});