【发布时间】:2014-09-26 21:24:18
【问题描述】:
我打算使用 Node.js 进行带有串行端口通信的 POC。我用谷歌搜索并找到了 Node.js 的“串行端口”模块。我有一个 C# 代码,它以byte 数据类型将数据写入串行端口。我想尝试使用 Node.js。 C# 代码在byte[] 数组中具有以下值:
5, 170, 85, 250, 0, 86, 0, 3, 158, 0
谁能告诉我如何使用 Node.js 的串口模块来实现这一点?
【问题讨论】:
标签: node.js serial-port node-serialport