Loading files
4241982b6This file is pinned to the selected release. Download the original to open it in your design tool.
var serialport = require('serialport');
// list serial ports:
serialport.list(function (err, ports) {
ports.forEach(function(port) {
console.log(port.comName);
});
});