This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Allow the registering of change events #31
Comments
Really useful to handle I2C devices that use interrupts pins ! |
Changed the title so it doesn't only apply to GPIO :) |
@TylerLeonhardt Would this make it possible to detect button being pressed? |
That's the idea, yes |
That would be really nice! :) I'm afraid I don't have the skills to make it but would be happy to help with testing it. |
@matswi we are currently migrating to .NET IoT library. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would look something like this:
Under the hood it could use
Register-ObjectEvent
to allow the script execution to be in the same runspace.Unosquare docs here:
https://github.com/unosquare/raspberryio#interrupts-and-callbacks
The text was updated successfully, but these errors were encountered: