Require specifically the Gpio function
This commit is contained in:
parent
90210e02f3
commit
760c6c72ab
|
@ -1,6 +1,6 @@
|
|||
'use strict'
|
||||
|
||||
const Gpio = require('onoff')
|
||||
const Gpio = require('onoff').Gpio
|
||||
console.dir(Gpio)
|
||||
const PINS = {
|
||||
fwd : {
|
||||
|
|
Loading…
Reference in New Issue