Results 2 comments of Queekusme

@Gavin-Perry i've used 26-28 on my Pi Pico (non arduino) without any issues so I presume that the issues you're referencing are arduino specific I haven't tried the ADC specifically...

@Gavin-Perry you shouldn't need to set the function, The enum is defined here (https://raspberrypi.github.io/pico-sdk-doxygen/group__hardware__gpio.html) as gpio_function, If you're just reading digital inputs then you can ignore function, that's for connecting...