firmata / firmata.js

JavaScript implementation of the Firmata protocol
711 stars 147 forks source link

Support `navigator.serial` #249

Open jellehak opened 2 years ago

jellehak commented 2 years ago

First of all really nice library. I tried to integrate the library with the navigator.serial to make it possible to directly interact from the browser with your device. However the library seems to be tightly coupled to the SerialPort interface. Any ideas on how to bridge this to use navigator.serial. Perhaps an example could be added on how to integrate with navigator.serial (currently only on chrome).

jellehak commented 1 year ago

I have been creating a port of this library to support WebSerial. You can find it here https://github.com/yellow-digital/firmata-web