.num Property


Sets/returns the number of the currently selected ADC channel.


Enum (pl_adc_num, byte)

Value Range:

Platform-specific. See the list of pl_adc_num constants in the platform specifications.

See Also:



ADC inputs are mapped to regular GPIO lines, and such mapping is platform-specific. For information see the pl_adc_num enum.

After changing the channel, discard the first result returned by adc.getdata.