🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

gpio-socket

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gpio-socket

GPIO control via WebSocket

0.1.1
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

gpio-socket

GPIO control via WebSocket

Install

npm install -g gpio-socket

Usage

gpio-socket <port>

Protocol

Write

["write", pin, value]

Set the value (1 or 0) of the given pin.

Subscribe

["subscribe", pin]

Subscribe to changes on the given pin.

Change events will be of the form:

["change", pin, value]

License

MIT

FAQs

Package last updated on 13 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts