Jonathan Bartlett

Results 5 comments of Jonathan Bartlett

On Apple Silicon if I try the fix from @ikaronen-relex or @jlahtinen I get "TypeError: nil is not a string"

In short, you need to make your own listener to do this.

Depending on the type of serial, you might be able to do this with my Shifty library, though it is totally untested - https://github.com/johnnyb/Shifty

I monkey-patched the library to support both simultaneously. This reads alternate frames as positive/negative: https://gist.github.com/johnnyb/8e4c888aa0ca5d4503b5e52391f4207a Based off of a pull request on ZXing: https://github.com/zxing-js/library/pull/420/commits/7644e279df9fd2e754e044c25f450576d2878e45

What is the status of this? This would be extremely helpful for my current project.