rakeshpai/pi-gpio

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

Opened this issue · 3 comments

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

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)

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

romilly/quick2wire-gpio-admin#5

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

Might be the new path as described in #45.