Closed Votyer closed 6 years ago
I'm getting the follwoing error when try to read the PIN value Cannot read property 'indexOf' of undefined
my code is the following
this.PINValue = function (pin, callback) {
console.log("Pin to read=>"+ pin); gpio.read(pin, callback); }
Solution?
I'm getting the follwoing error when try to read the PIN value Cannot read property 'indexOf' of undefined
my code is the following
this.PINValue = function (pin, callback) {