a
This commit is contained in:
parent
dcfcfaa8bd
commit
eaccbbb728
4
main.js
4
main.js
@ -1,6 +1,4 @@
|
|||||||
//This example shows how to setup the pin for write mode with the default state as "on". Why do this? It can sometimes be useful to reverse the default initial state due to wiring or uncontrollable circumstances.
|
var gpio = require('rpi-gpio');
|
||||||
//var gpio = require('rpi-gpio');
|
|
||||||
|
|
||||||
gpio.setup(7, gpio.DIR_OUT, write);
|
gpio.setup(7, gpio.DIR_OUT, write);
|
||||||
|
|
||||||
function augerOn(err) {
|
function augerOn(err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user