-
Notifications
You must be signed in to change notification settings - Fork 1.3k
rotaryio freezes when creating 6 IncrementalEncoder on RP2040 #10157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
CircuitPython RP2040 used to support 8 encoders (but nothing else that required PIO). Because this project used to work: https://github.com/todbot/pico8enc |
(btw if any CircuitPython dev wants a pico8enc PCB mailed to them, let me know) |
With a debug build and The pertinent part of the gdb backtrace:
We're looping because |
|
Incorrect processor dependent includes of
|
Now working as expected, throwing "All state machines in use" on 9th constructor:
(I removed the first encoder in the list so I could use the UART debug console) |
Uh oh!
There was an error while loading. Please reload this page.
CircuitPython version and board name
Code/REPL
Behavior
Prints out:
And freezes there, ctrl-C doesn't stop the code.
Description
I would expect an exception being raised when using too many encoders.
Or is it supposed to support like 8 encoders ?
Seems like a followup to #10024
Additional information
No response
The text was updated successfully, but these errors were encountered: