Closed
Description
Right now this is not possible, because the pin is marked "never reset". This means it can't be used anywhere like in the constructor of AnalogIn.
Furthermore, actually reading the value requires cooperation with the wifi/cyw43 driver, because the GPIO (GPIO29) is also the SPI clock during communication with the cyw43 chip and GPIO25 (also special to the cyw43) must also be HIGH to perform the read.
I looked around micropython but didn't find the "trick" to doing this right codified there.
Due to the difficulties of fitting this peg into the AnalogIn hole, I think doing it as a function in board
that returns float would potentially be acceptable.