Open
Description
CircuitPython version
Adafruit CircuitPython 8.0.0-alpha.1-31-gc1b00442a on 2022-07-02; stm32f411ce-blackpill with STM32F411CE
Code/REPL
import board, digitalio
digitalio.DigitalInOut(board.C14)
Behavior
ValueError: C14 in use
Description
No response
Additional information
If I comment out the calls to never_reset_pin_number()
here, then the error doesn't appear anymore. But then using those pins among the row_pins
of keypad.KeyMatrix()
prevents the key matrix from detecting any events, also from other pins. The condition if key_matrix.events.get()
(where key_matrix
was the output of keypad.KeyMatrix()
) is never triggered (on a board without a low-speed crystal, i.e. where pins C14 and C15 aren't occupied by a crystal). Without using pins C14 and C15, it works. But I'd like to use pins C14, C15.