#Writing to a serial port

2 messages · Page 1 of 1 (latest)

lament oak
#

HI guys. Sorry if this is a wrong channel to post. I am stuck a bit and need suggestions please.
I need to write to a serial com port (an arduino board) and I followed this example with success:
https://www.electronjs.org/docs/latest/tutorial/devices#web-serial-api
But that tells you how to detect the device, not how to Write to it too.
Anyone has experience with that?
Thanks a lot for any advice!!!

Like Chromium based browsers, Electron provides access to device hardware through web APIs. For the most part these APIs work like they do in a browser, but there are some differences that need to be taken into account. The primary difference between Electron and browsers is what happens when device access is requested. In a browser, users ar...

radiant kelp