platformAdcSupportedBits method

int platformAdcSupportedBits(
  1. int platformOffset
)

Platform ADC supported bits - mraa_get_platform_adc_supported_bits

The value that the raw value should be shifted to i.e. the actual bit size the ADC value should be understood as. platformOffset is 0 for the main platform, 1 for a sub platform Returns 0 if no ADC

Implementation

int platformAdcSupportedBits(int platformOffset) =>
    _impl.mraa_get_platform_adc_supported_bits(platformOffset);