From 63e081afe40908f9699076e752651aecc4372f18 Mon Sep 17 00:00:00 2001 From: M McWilliams Date: Tue, 30 Jan 2018 04:07:52 -0500 Subject: [PATCH] Add COM3 for windows tests --- app/lib/arduino/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/lib/arduino/index.js b/app/lib/arduino/index.js index 01bda1a..9271150 100644 --- a/app/lib/arduino/index.js +++ b/app/lib/arduino/index.js @@ -18,7 +18,8 @@ mcopy.arduino = { '/dev/tty.usbmodem1a131', '/dev/tty.usbserial-a900f6de', '/dev/tty.usbmodem1a141', - '/dev/ttyACM0' + '/dev/ttyACM0', + 'COM3' ], alias : { @@ -38,6 +39,7 @@ mcopy.arduino = { mcopy.arduino.enumerate = function (callback) { let matches = [] SerialPort.list((err, ports) => { + //console.dir(ports) ports.forEach(port => { if (mcopy.arduino.known.indexOf(port.comName) !== -1) { matches.push(port.comName)