Cheers for the heads up, upon inspection it looks like the
direction file is missing for pin 8, pretty strange.. perhaps the helper should create the file if it doesn't already exist?
Best posts made by Jamie Street
Latest posts made by Jamie Street
RE: Simple Python wrapper and demo
Hey @Dan-L , finally got some components to play around with!
Although I'm getting the following error when trying to read the input of a button using your helper,
fast-gpio read 8works perfectly though, any ideas?
Traceback (most recent call last): File "script", line 19, in <module> button_input = helper.getPin(8) File "/root/first_script/gpiohelper.py", line 26, in getPin fd = open(self.pinDirectionPath.replace("$", str(pin)), 'w') IOError: [Errno 13] Permission denied: '/sys/class/gpio/gpio8/direction'
RE: Does node.js not include packages in opkg yet?