Skip to content

stm32: Meowbit board.MENU button can't be used — pin in use error #5269

@deshipu

Description

@deshipu

CircuitPython version

Adafruit CircuitPython 7.0.0-beta.0-123-g89fc1890a-dirty on 2021-08-30; MEOWBIT with STM32F401xE

Code/REPL

>>> import board
>>> import digitalio
>>> digitalio.DigitalInOut(board.MENU)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: MENU in use

Behavior

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: MENU in use

Description

No response

Additional information

The board.MENU seems to be PC15. I couldn't find any references to that pin in board.c, so I guess something is wrong with the code that checks whether the pin is in use or not?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions