-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Labels
enhancement
New feature or request
pin-monitoring
we need to be able to register callbacks for monitor pins
Comments
Closed
sombriks
added
enhancement
New feature or request
pin-monitoring
we need to be able to register callbacks for monitor pins
labels
Feb 25, 2024
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, ;-) |
I would be truly interested in that as well. Did you make any progress? |
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
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)
tonew 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.The text was updated successfully, but these errors were encountered: