Browse Source
pyb.ADC(channel) checks whether specified channel is valid or have ADC capability but pyb.ADCAll().read_channel() does not. This change adds checking whether specified channel is valid and throw ValueError if channel is invalid. This is same as pyb.ADC().pull/9221/head
yn386
2 years ago
committed by
Damien George
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue