JamesBarwell / rpi-gpio.js

Control Raspberry Pi GPIO pins with node.js
MIT License
658 stars 117 forks source link

Support GPIO on Raspberry Pi 5 #121

Open RickBullotta opened 5 months ago

RickBullotta commented 5 months ago

It appears that GPIO has changed with the Raspberry Pi 5. It would be great if you could update this module to support the RPI 5.

nsayer commented 2 months ago

As a workaround, you can edit the pin to gpio number table (both the v1 and v2) to change the GPIO numbers. In most cases, the correct thing to do is to add 512.

But this module needs to be rewritten or hacked to rest on top of libgpiod for great justice.

nsayer commented 2 months ago

See issue 122.