Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adriankumpf/arb-js
A native Node.js module for controlling the ABACOM CH341A relay board.
https://github.com/adriankumpf/arb-js
abacom ch341a neon relay relay-board
Last synced: 24 days ago
JSON representation
A native Node.js module for controlling the ABACOM CH341A relay board.
- Host: GitHub
- URL: https://github.com/adriankumpf/arb-js
- Owner: adriankumpf
- Created: 2018-01-07T18:41:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-08T21:41:04.000Z (7 months ago)
- Last Synced: 2024-10-11T14:10:59.771Z (about 1 month ago)
- Topics: abacom, ch341a, neon, relay, relay-board
- Language: Rust
- Homepage:
- Size: 83 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# arb-js
A native Node.js module for controlling the ABACOM CH341A relay board.
## Getting started
### Requirements
In order to compile a recent version of `rust` must be installed. Also, the native [libusb](https://github.com/libusb/libusb) library is required. On Debian-based distributions install `libusb-1.0-0-dev`.
### Installation
Add `arb` to your list of dependencies:
```plain
npm i adriankumpf/arb-js#v0.5.0
```## Usage
```js
> arb.activate([1, 4, 7])
undefined> arb.activate([1, 4, 7], { port: 2, verify: false })
undefined
```## See also
- [abacom-relay-board](https://github.com/adriankumpf/abacom-relay-board)
- [arb-ex](https://github.com/adriankumpf/arb-ex)