In the datasheet of the STM32 page 35 I also found the double assignment of the pins. There are also boot0 and boot1 as well as C13 and B13 for BTN and BTN1. If I measure the voltages at b13 and c13, then one of them is inactive when pressing the button.
I suspect that might have something to do with the on-board version. The IDE recognizes the board with V1.3. If I look at the bottom of the board, then there is V1.4b. Maybe there are any changes.
If I connect the Pico to USB and keep BTN pressed, then the status of the LEDs will not change.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
In the datasheet of the STM32 page 35 I also found the double assignment of the pins. There are also boot0 and boot1 as well as C13 and B13 for BTN and BTN1. If I measure the voltages at b13 and c13, then one of them is inactive when pressing the button.
I suspect that might have something to do with the on-board version. The IDE recognizes the board with V1.3. If I look at the bottom of the board, then there is V1.4b. Maybe there are any changes.
If I connect the Pico to USB and keep BTN pressed, then the status of the LEDs will not change.