pi-gpio icon indicating copy to clipboard operation
pi-gpio copied to clipboard

Does this work on Raspberry Pi Model 2 (the quad core version)?

Open mathew-kurian opened this issue 9 years ago • 3 comments

I ran your test and attached an led but it didn't work. Just want to make sure.

mathew-kurian avatar Apr 26 '15 08:04 mathew-kurian

I can confirm this issue. I get the following error on my Raspberry Pi 2.

Error: ENOENT, open '/sys/class/gpio/gpio13/direction'
    at Error (native)

omkarkhair avatar May 03 '15 07:05 omkarkhair

Apparently the issue isn't with pi-gpio. It is gpio-admin that this module uses. The path for gpio seems to have changed.

https://github.com/quick2wire/quick2wire-gpio-admin/issues/5

Pulling from this repo branch fitpath worked for me. https://github.com/rexington/quick2wire-gpio-admin/tree/fixpath

omkarkhair avatar May 03 '15 07:05 omkarkhair

Might be the new path as described in #45.

tjanson avatar Feb 28 '16 18:02 tjanson