jobin-sun / raspberry-gpio-python

Automatically exported from code.google.com/p/raspberry-gpio-python
MIT License
0 stars 0 forks source link

Enhancement: Pass info to threaded callback function #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It'd be nice if the callback function was being passed some more info, like the 
pin/channel that's being triggered. That way, instead of having to create a 
callback function for every channel, you could create a generic callback to 
assign to all the channels/events, then within that callback, do the proper 
dispatch based on which channel/event was triggered.

Original issue reported on code.google.com by m...@danyo.ca on 23 Mar 2013 at 1:46

GoogleCodeExporter commented 9 years ago
Will be in release 0.5 2a

Original comment by btcros...@googlemail.com on 23 Mar 2013 at 7:45

GoogleCodeExporter commented 9 years ago
Fix done and tested.  In source code library awaiting release 0 5.2a

Original comment by btcros...@googlemail.com on 23 Mar 2013 at 8:40

GoogleCodeExporter commented 9 years ago
Fix now released in 0.5.2a.

Original comment by btcros...@googlemail.com on 26 Mar 2013 at 12:24