8000 rotaryio on RP2350 Non-functional · Issue #9695 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

rotaryio on RP2350 Non-functional #9695

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

Closed
relic-se opened this issue Oct 8, 2024 · 2 comments
Closed

rotaryio on RP2350 Non-functional #9695

relic-se opened this issue Oct 8, 2024 · 2 comments
Labels

Comments

@relic-se
Copy link
relic-se commented Oct 8, 2024

CircuitPython version

Adafruit CircuitPython 9.2.0-beta.0 on 2024-09-17; Raspberry Pi Pico 2 with rp2350a

Code/REPL

import rotaryio
import time
import board

enc = rotaryio.IncrementalEncoder(board.GP16, board.GP17)
last_position = None
while True:
    position = enc.position
    if last_position == None or position != last_position:
        print(position)
    last_position = position

Behavior

Prints initial 0 and then no changes to enc.position after interacting with rotary encoder.

Description

  • This error seems to only be affecting RP2350 (likely related to PIO)
  • Works on "Adafruit CircuitPython 9.2.0-alpha.2351 on 2024-08-22; Raspberry Pi Pico 2 with rp2350a" (also tested on Pimoroni Pico Plus 2 with rp2350b)
  • RP2040 (Raspberry Pi Pico) does not exhibit this problem on both 9.2.0-alpha.2350 or 9.2.0-beta.0

Additional information

I initially thought this was a hardware issue, but scoping it out reveals no problems on 9.2.0-alpha or 9.2.0-beta. I'm not sure of the actual source of this issue, but I may do some additional investigation on my own in the near future.

@relic-se relic-se added the bug label Oct 8, 2024
@dhalbert
Copy link
Collaborator
dhalbert commented Oct 8, 2024

This was fixed already: see #9681 and the fix #9682. This will be in the next beta, or you can get an "Absolute Newest" build.

@dhalbert dhalbert closed this as completed Oct 8, 2024
@relic-se
Copy link
Author
relic-se commented Oct 8, 2024

Ah, my bad. Thank you for pointing this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
0