speeduino / Ardu-Stim

96 stars 71 forks source link

Web serial is available in browser now (Edge, Chrome, Opera only) #52

Open james-portman opened 2 years ago

james-portman commented 2 years ago

Bar the avrdude/direct binaries, the rest of this can now be done in browser only (without node).

I can't get the node stuff to work in Linux which is a shame. Should be possible to do almost all of this in plain JS/HTML now using web serial

https://codelabs.developers.google.com/codelabs/web-serial#7

karniv00l commented 2 years ago

But this is Electron: https://www.electronjs.org/docs/latest/tutorial/devices

If you want to use plain browser and still be able to burn the firmware, you need avrdude port like this one: https://github.com/noopkat/avrgirl-arduino/blob/master/tests/demos/webserial/README.md

james-portman commented 2 years ago

OK, my point still stands. I cannot get it to build as-is on my computer. It could just be straight javascript and work on Windows/Mac/Linux all in the same way without external things like node, electron

karniv00l commented 2 years ago

Yeah, it could be nice, but the support is pretty bad right now: https://caniuse.com/web-serial