Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for GPIO monitoring callbacks #23

Open
varadero opened this issue Feb 25, 2024 · 3 comments
Open

Support for GPIO monitoring callbacks #23

varadero opened this issue Feb 25, 2024 · 3 comments
Labels
enhancement New feature or request pin-monitoring we need to be able to register callbacks for monitor pins

Comments

@varadero
Copy link

I know that GPIO monitoring callbacks is in the roadmap but it would be really great addition. I have tried node-libgpiod with Raspberry Pi 5 4GB (I just needed to change new Chip(0) to new Chip(4)) and it works great for setting the outputs but don't know how to do the "monitoring" (like detecting push buttons connected to some GPIO). I am willing to sponsor the addition of the callbacks to the library.

@sombriks sombriks added enhancement New feature or request pin-monitoring we need to be able to register callbacks for monitor pins labels Feb 25, 2024
@sombriks
Copy link
Owner

Hi @varadero i am doing some cleanup and after that will work on that for 1.x branch first. At some point we can discuss proper api design/ergonomics here, ;-)

@Garfonso
Copy link

I would be truly interested in that as well. Did you make any progress?

@sombriks
Copy link
Owner

sombriks commented Jun 1, 2024

Hello @Garfonso indeed this feature is one will be a big improvement, i just need testcases / gpiosim up and running so i can handle the missing bits of 1.x API. staty tuned!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pin-monitoring we need to be able to register callbacks for monitor pins
Projects
None yet
Development

No branches or pull requests

3 participants