serialport / website

The website for the serialport project
https://serialport.io/
MIT License
37 stars 33 forks source link

document `port.binding.emitData` #58

Closed alexandergill closed 3 years ago

alexandergill commented 3 years ago

Hello!

It took me a while to figure out how to simulate incoming data on a mocked port in my tests, so I've added a bit to the mock api documentation.

I think this example could help others who have the same problem.

Thanks for this really useful project!

reconbot commented 3 years ago

Ahh! Thank you for this.