Browse Source
The change closes the gap in the API when an integer is used as Pin reference. With the change, e.g. ADC(26), ADC(Pin(26)) and ADC("GP26") behave identically and the GPIO is initialised in ACD/high-Z mode. Only when using ADC channel numbers 0-3 are the corresponding GPIO left uninitialised, and then the user is responsible for configuring the GPIO. Signed-off-by: robert-hh <robert@hammelrath.com>pull/13509/head
robert-hh
10 months ago
committed by
Damien George
1 changed files with 6 additions and 6 deletions
Loading…
Reference in new issue