A native Node.js module for controlling the ABACOM CH341A relay board.
In order to compile a recent version of rust
must be installed. Also, the native libusb library is required. On Debian-based distributions install libusb-1.0-0-dev
.
Add arb
to your list of dependencies:
npm i adriankumpf/arb-js#v0.5.0
> arb.activate([1, 4, 7])
undefined
> arb.activate([1, 4, 7], { port: 2, verify: false })
undefined