wiringpi-iotjs

0.0.6 • Public • Published

WIRINGPI-IOTJS

GitHub forks License NPM IRC Channel

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

NPM

USAGE

USING IOTJS

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 

DEMO

iotjs example

Or using more advanced device:

wiringpi-iotjs

USING NODEJS

Node is not yet supported but for debugging purpose, gpio calls can be stubbed.

EXTRA

An extra I2C API has been added to ensure compatibility between IoT.js and Node.js.

RESOURCES

Package Sidebar

Install

npm i wiringpi-iotjs

Weekly Downloads

8

Version

0.0.6

License

BSD-3-Clause

Unpacked Size

66.6 kB

Total Files

23

Last publish

Collaborators

  • rzr