amilajack / erb-serialport-example

An example of using electron-react-boilerplate with serialport
MIT License
14 stars 6 forks source link

Using one instance of SerialPort accessible to all components #40

Open etheaven opened 2 years ago

etheaven commented 2 years ago

Summary

Hello, I am trying to use this template as a base for my learning project. I'm trying to use SerialPort and I will need to access one COM port in all my components to read data and write data. I'm however unsuccessfull in doing so, and would really need a bit of help. Can you please show me an example of how I can achieve such results? Thank you very much!