platformAdcRawBits method

int platformAdcRawBits(
  1. int platformOffset
)

Platform ADC raw bits - mraa_get_platform_adc_raw_bits

Get the board's bit size in use when reading analogue values. platformOffset is 0 for the main platform, 1 for a sub platform Returns 0 if no ADC.

Implementation

int platformAdcRawBits(int platformOffset) =>
    _impl.mraa_get_platform_adc_raw_bits(platformOffset);