Lightweight reimplentation of wiring-node for IoT.js,
WARNING: it's not isofunctionnal, many features are dropped, but API should align to help porting Node.js modules to IoT.js
Running from sources tree is straightforward, but each step will be detailed.
git clone --depth 1 https://github.com/rzr/wiringpi-iotjs ; cd wiringpi-iotjs
iotjs example
#| GPIO: Setup: pin=5: direction=1
#| GPIO: write: high: pin=5
#| GPIO: write: low: pin=5
iotjs example
Or using more advanced device:
Node is not yet supported but for debugging purpose, gpio calls can be stubbed.
An extra I2C API has been added to ensure compatibility between IoT.js and Node.js.
- https://github.com/rzr/wiringpi-iotjs
- https://www.npmjs.com/package/wiringpi
- https://libraries.io/npm/wiringpi-iotjs
- https://github.com/Soarez/node-wiring-pi
- https://www.npmjs.com/package/wiringpi-node
- https://github.com/fengjiannan2010/wiringpi-node
- http://iotjs.net
- https://github.com/~rzr
- https://github.com/Irrelon/node-blinkt
- Irrelon/node-blinkt#15