https://github.com/rzr/wiringpi-iotjs
Remplementing wiringpi for IoT.js
https://github.com/rzr/wiringpi-iotjs
Last synced: 4 months ago
JSON representation
Remplementing wiringpi for IoT.js
- Host: GitHub
- URL: https://github.com/rzr/wiringpi-iotjs
- Owner: rzr
- License: other
- Created: 2018-08-29T08:27:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T21:17:50.000Z (almost 2 years ago)
- Last Synced: 2025-03-01T03:35:22.230Z (5 months ago)
- Language: JavaScript
- Size: 201 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WIRINGPI-IOTJS #
[](
https://GitHub.com/rzr/wiringpi-iotjs/network/
)
[](LICENSE)
[](
https://www.npmjs.com/package/wiringpi-iotjs
)
[](
https://kiwiirc.com/client/irc.freenode.net/#tizen
)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* URL:
[](
https://npmjs.org/package/wiringpi-iotjs
)## USAGE ##
### USING IOTJS ###
Running from sources tree is straightforward, but each step will be detailed.
```sh
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 ###
```sh
iotjs example
```Or using more advanced device:
[](
https://twitter.com/TizenHelper/status/1019945989388546048#
"blinkt-node")### 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 ##
*
*
*
*
*
*
*
*
*
*