A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Soarez/node-wiring-pi below:

soarez/node-wiring-pi: Node.js bindings to wiringPi

Project now lives here: WiringPi/WiringPi-Node.

Node.js bindings to WiringPi

var wpi = require('wiring-pi');

Valid Modes:

See WiringPi Pins for the differences in Pin numbering;

wpi.pinMode(0, wpi.modes.OUTPUT);
wpi.digitalWrite(pin, value)
wpi.digitalWrite(0, wpi.HIGH);
wpi.digitalWrite(0, wpi.LOW);
wpi.digitalRead(0);
//=> 1

These have the same arguments as their WiringPi counterparts


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4