fmorton / Makers_CircuitPython_remote_control

CircuitPython helper for remote controls
MIT License
0 stars 1 forks source link

Can't add anything else to an event loop. #3

Open mfeif opened 4 years ago

mfeif commented 4 years ago

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?