Provides a JavaScript API for the I²C driver. Works well in the browser via SerialPort
Capture mode is supported via function generator stream.
The eventStreamFromReader factory can be called with a ReadableStream to create state-machine stream that will yield the i²c events.
This can be used to replicate the excameras native visualization as the raw date is provided for each event. (alternatively constructing a function generator from lower level components)