(Note: I'm using the same physical encoder with the same pins, but with otherwise different parameters. Also, I'm using a Raspberry Pi Pico with the latest version of Micropython.)
I would expect to see both aaa and bbb printed every time I move the rotary encoder. However, only bbb gets printed.
In other terms, it looks like instantiating a second RotaryIRQ causes the first one to lose its listeners.
Hi,
I'm having issues with the following sample code:
(Note: I'm using the same physical encoder with the same pins, but with otherwise different parameters. Also, I'm using a Raspberry Pi Pico with the latest version of Micropython.)
I would expect to see both
aaa
andbbb
printed every time I move the rotary encoder. However, onlybbb
gets printed.In other terms, it looks like instantiating a second
RotaryIRQ
causes the first one to lose its listeners.Is that a bug or am I missing something?
Thanks,
Julien