Skip to content

RP2350B Core Board: says GPIO pin > 31 declared mode = OUTPUT is shown as INPUT #17241

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

Open
Flipje1955 opened this issue May 2, 2025 · 0 comments
Labels

Comments

@Flipje1955
Copy link

Port, board and/or hardware

RP2350B Core WeAct Studio

MicroPython version

Using MicroPython v1.25.0 on 2025-04-15; WeAct Studio RP2350B Core with RP2350:

Reproduction

'''
pin = Pin(31, Pin.OUT)
pin.on()
print(pin, pin.value())
pin.off()
print(pin, pin.value())

pin = Pin(32, Pin.OUT)
pin.on()
print(pin, pin.value())
pin.off()
print(pin, pin.value())
'''

Expected behaviour

Expected all pins defined as OUTPUT to be shown as such.

Observed behaviour

Output:

MPY: soft reboot
Pin(GPIO31, mode=OUT) 1
Pin(GPIO31, mode=OUT) 0
Pin(GPIO32, mode=IN) 1
Pin(GPIO32, mode=IN) 0

This applies to all pins #32 up to # 47.

nb. Same behaviour on v1.26.0-preview.59.g79abdad9e (2025-05-02) .uf2

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

@Flipje1955 Flipje1955 added the bug label May 2, 2025
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

1 participant