JamesBarwell / rpi-gpio.js

Control Raspberry Pi GPIO pins with node.js
MIT License
657 stars 116 forks source link

BCM mode not working ? #11

Closed pascalmartin closed 6 years ago

pascalmartin commented 10 years ago

if i try gpio.setup with GPIO BCM 17 a receive this error "Channel 17 does not map to a GPIO pin

johnmwright commented 9 years ago

The issue is specific to GPIO 17, which has been omitted from the array in getPinBcm()

paviro commented 8 years ago

GPIO 17 is still not working, any update on this? Same thing with GPIO 4.

lnitram commented 7 years ago

Seems that many GPIOs are not working in BCM mode on Raspberry PI 3.

Franco-Poveda commented 7 years ago

Error: Channel 20 does not map to a GPIO pin Same problem. raspberry pi 3. Any way to fix this?

Franco-Poveda commented 7 years ago

A good fix is PR pending a a long time ago made: https://github.com/JamesBarwell/rpi-gpio.js/pull/60

To use @jamesbulpin fork that fix this, change in your package.json rpi-gpio reference with:

"rpi-gpio": "git+ssh://git@github.com/jamesbulpin/rpi-gpio.js.git"

JamesBarwell commented 6 years ago

The fix in #60 has been published as 0.9.1. Cheers.