Require specifically the Gpio function

This commit is contained in:
mmcwilliams 2017-08-26 19:08:39 -04:00
parent 90210e02f3
commit 760c6c72ab
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
'use strict'
const Gpio = require('onoff')
const Gpio = require('onoff').Gpio
console.dir(Gpio)
const PINS = {
fwd : {