You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
This is not an Issue, I just want to request an example of an Interrupt in a Class.
I do have a Interrupt trigger to a Callback function on a Class of a Movement Sensor
When I am importing the movement sensor Class in my code (since there are movement around) immediately start triggering the Callback function that gives an error because it does not have a "self" instance. (I am just importing the Class).
My question is there is a workaround? What is the best practice to code an Interrupt in a python Class?
Thanks in Advance,
Pablo.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is not an Issue, I just want to request an example of an Interrupt in a Class.
I do have a Interrupt trigger to a Callback function on a Class of a Movement Sensor
When I am importing the movement sensor Class in my code (since there are movement around) immediately start triggering the Callback function that gives an error because it does not have a "self" instance. (I am just importing the Class).
My question is there is a workaround? What is the best practice to code an Interrupt in a python Class?
Thanks in Advance,
Pablo.
The text was updated successfully, but these errors were encountered: