Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rzr/wiringpi-iotjs
Remplementing wiringpi for IoT.js
https://github.com/rzr/wiringpi-iotjs
Last synced: about 2 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T21:17:50.000Z (over 1 year ago)
- Last Synced: 2024-10-29T12:57:58.722Z (about 2 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 #
[![GitHub forks](
https://img.shields.io/github/forks/rzr/wiringpi-iotjs.svg?style=social&label=Fork&maxAge=2592000
)](
https://GitHub.com/rzr/wiringpi-iotjs/network/
)
[![License](
https://img.shields.io/badge/licence-BSD-3.svg?style=flat
)](LICENSE)
[![NPM](
https://img.shields.io/npm/v/wiringpi-iotjs.svg
)](
https://www.npmjs.com/package/wiringpi-iotjs
)
[![IRC Channel](
https://img.shields.io/badge/chat-on%20freenode-brightgreen.svg
)](
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:
[![NPM](
https://nodei.co/npm/wiringpi-iotjs.png
)](
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:
[![wiringpi-iotjs](
https://pbs.twimg.com/ext_tw_video_thumb/1019945702791766017/pu/img/bbbNf-HJR2FkUb5l.jpg
)](
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 ##
*
*
*
*
*
*
*
*
*
*