I found that calling add_event_detect for multiple GPIOs only resulted in the
first one getting called. e.g. in this case cb2 would never get called:
GPIO.add_event_detect(17, GPIO.BOTH, callback=cb1)
GPIO.add_event_detect(27, GPIO.BOTH, callback=cb2)
This makes sure it gets run for all GPIOs.
Original issue reported on code.google.com by philip...@gmail.com on 11 Mar 2013 at 12:22
Original issue reported on code.google.com by
philip...@gmail.com
on 11 Mar 2013 at 12:22Attachments: