First of all, great article!
I currently have this issue every time I press the button:
GET /api/clickbutton 200 26.035 ms - -
[[15:14:00]] [LOG] gpioWrite, value: 1 seq: 0
fs.js:663
return binding.writeBuffer(fd, buffer, offset, length, position);
^
Error: EPERM: operation not permitted, write
at Error (native)
at Object.fs.writeSync (fs.js:663:20)
at Gpio.writeSync (/home/pi/devel/node-garagepi/nodemodules/onoff/onoff.js:200:6)
at null.onTimeout (/home/pi/devel/node-garagepi/garagepi.js:59:10)
at Timer.listOnTimeout (timers.js:92:15)
First of all, great article!
I currently have this issue every time I press the button:
GET /api/clickbutton 200 26.035 ms - -
[[15:14:00]] [LOG] gpioWrite, value: 1 seq: 0
fs.js:663
return binding.writeBuffer(fd, buffer, offset, length, position);
^
Error: EPERM: operation not permitted, write
at Error (native)
at Object.fs.writeSync (fs.js:663:20)
at Gpio.writeSync (/home/pi/devel/node-garagepi/nodemodules/onoff/onoff.js:200:6)
at null.onTimeout (/home/pi/devel/node-garagepi/garagepi.js:59:10)
at Timer.listOnTimeout (timers.js:92:15)
Any possible tips?
Thanks!