Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在做一个项目。我们有我们的 USB 设备。那么如何在网络应用程序中打开(访问)我的 USB(请参阅附加到图像以查看什么样的端口和设备。)数据?我必须使用哪些“javascript API”?
是的。
如果要使用串行端口,可以使用 Web Serial API。
https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API