web-serial-example:Web串行API的基础示例

时间:2021-02-26 07:06:52
【文件属性】:
文件名称:web-serial-example:Web串行API的基础示例
文件大小:12KB
文件格式:ZIP
更新时间:2021-02-26 07:06:52
TypeScript Web串行API 该演示演示了将浏览器与串行设备连接的Web串行API的基础。 请查看有关Web Serial API的博客文章,以了解有关它的更多信息: : TL; DR 将./web_serial_onboard_led.ino的代码上传到您的Arduino设备 通过访问chrome:// flags /#enable-experimental-web-platform-features启用Chrome的实验性Web平台功能 在本地运行演示应用 使用Web应用程序的“连接到串行端口”连接到正确的端口 发送1 tu打开LED,或发送0关闭LED
【文件预览】:
web-serial-example-master
----index.html(1KB)
----styles.css(1KB)
----web_serial_onboard_led.ino(376B)
----src()
--------app.ts(2KB)
--------serial-handler.ts(2KB)
----tsconfig.json(6KB)
----LICENSE(1KB)
----README.md(776B)
----dist()
--------app.js(5KB)
--------serial-handler.js(7KB)

网友评论