Node.js串口读写包nodeserialport.zip
node-serialport是一个Node.js的包,用来对串口数据进行读写操作。基本示例代码:var SerialPort = require("serialport").SerialPortvar serialPort = new SerialPort("/dev/tty-usbserial1", { baudrate: 57600}, false); // this is the openImmediately flag [default is true]serialPort.open(function (error) { if ( error ) { console.
下载地址
用户评论