electron提供了node的环境,可以通过安装serialport包,来进行串口通信。
node与串口通信
出现的错误
|
|
|
|
|
|
|
|
Thank you very much, I installed the electron-rebuild and run ./node_modules/.bin/electron-rebuild.cmd and ./node_modules/.bin/electron .1.\node_modules\.bin\electron-rebuild.cmd
参考资料
node-serialport/node-serialport
终于在electron中成功编译node-serialport了
Nodejs Serialport文档翻译
electron串口工具桌面应用开发踩坑记(node-serialport)
如何在web页面上获取客户端的串口数据?
MSBUILD : error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。
Could not locate the bindings file #1087