Open mulderp opened 8 years ago
on windows seems not easy command line to list serial ports, i.e. add an example with:
var serialPort = require("serialport");
serialPort.list(function (err, ports) {
ports.forEach(function(port) {
console.log(port.comName);
console.log(port.pnpId);
console.log(port.manufacturer);
});
});
interesting idea to mention: restsful to serial bridge http://www.tigoe.com/pcomp/code/arduinowiring/1122/
nice trick: http://stackoverflow.com/questions/18879880/how-to-display-nodejs-raw-buffer-data-as-hex-string