Because of E9, in pull-down configuration you must use an external pull-down resistor of max 10k.
Or (preferably) can change the configuration of the button to connect the pin to the ground instead of 3.3V.
Then you can use the internal pull-up:The input will be inverted (shows 0 when button pressed), but that's easy to deal with.
Or (preferably) can change the configuration of the button to connect the pin to the ground instead of 3.3V.
Then you can use the internal pull-up:
Code:
button = Pin(15, Pin.IN, Pin.PULL_UP) Statistics: Posted by gmx — Sat Jan 24, 2026 9:51 pm