-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Asynchronous interrupt trigger usage clarification #30
Comments
Thanks for giving rppal a try! I'm not sure I correctly understand the issue. Normally you would call Alternatively, you can use synchronous interrupts instead and block the current thread if that's more appropriate for your situation. In that case, you would call If I'm misunderstanding the problem, please include a snippet of the code you're currently using and a description of what you expected to happen, and what is actually occurring. Thanks! |
Thank you for a quick reply. I refer to this snippet in the documentation: |
Ah I understand your confusion now. Perhaps I need to rephrase that part of the documentation to make it more clear. You only need to call |
Thank you for your explanation, I'm happy to close the issue, or keep it open until you update documentation. |
Let's keep it open for now as a reminder to update the documentation. 😁 |
I'm trying to use this library to receive signals with generic
433mhz
receiver (sender is a door sensor operating on the same freq). it seems likeset_async_interrupt
runs a lambda on another thread and will reset interrupt handler back to none, so that next interrupt doesnt trigger any lambda.However radio receiver will trigger many interrupts, so I was wondering if you could provide a useful example of how to handle these signals
The text was updated successfully, but these errors were encountered: