While this code is much nicer (with the timeout) than the original adafruit_irremote code, it seems to make it so that no other events can get triggered in an event loop.
I'm using it on an ItsyBitsy M4, and while I have a very nice IR setup courtesy of you, if I try and add a simple on/off button to the while loop, it's not checked. I think that the timeout code is waiting for pulses basically all of the time.
Any pointers? Have you integrated any other items into a loop with an IR loop?
While this code is much nicer (with the timeout) than the original adafruit_irremote code, it seems to make it so that no other events can get triggered in an event loop.
I'm using it on an ItsyBitsy M4, and while I have a very nice IR setup courtesy of you, if I try and add a simple on/off button to the while loop, it's not checked. I think that the timeout code is waiting for pulses basically all of the time.
Any pointers? Have you integrated any other items into a loop with an IR loop?