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?
J
Posts made by Jamie Street
-
RE: Simple Python wrapper and demo
-
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 8
works 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'
-
Broken mini dock switch
Hi,
I think the switch on my mini dock is broken?
The component looks the same as the one on the expansion dock, but doesn't have the actual switch part.
-
RE: Does node.js not include packages in opkg yet?
@Theodore-Borromeo, @Boken-Lin - When you guys get this sorted out, do you mind pinging me with install details?
-
RE: Simple Python wrapper and demo
Awesome cheers for this, I've got some leds/buttons on their way and have been looking for something like this as a starting point!