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
That would actually be better - do you want to do a PR for this or do you want me to do it?
Passing self should be do-able with this method, or maybe something very close, I'd love to investigate but don't have the time. If someone is willing to spend time doing this I'd be happy to include this.
I'm using the isr functionality with python 3 and the "args" are not being passed to my callback function properly.
http://iotdk.intel.com/docs/master/mraa/python/mraa.html#mraa.Gpio.isr
Using the example here:
https://github.com/intel-iot-devkit/mraa/blob/master/examples/python/hello_isr.py
If you
print(args)
inside oftest
then it is just a random integer. I want to be able to pass something and then actually use it.I have tried modifying gpio.c line 243 with some success. What do you think?
This works with simple things like passing an integer, but I would love to pass
self
and then have my callback function be a method in my class.The text was updated successfully, but these errors were encountered: