/** * Set the bit value which mraa will shift the raw reading * from the ADC to. I.e. 10bits * @param bits the bits the return from read should be i.e 10 * @return mraa::Result type */ Result setBit(int bits) { return (Result) mraa_aio_set_bit(m_aio, bits); }
/** * Set the bit value which mraa will shift the raw reading * from the ADC to. I.e. 10bits * @param bits the bits the return from read should be i.e 10 * @return mraa result type */ mraa_result_t setBit(int bits) { return mraa_aio_set_bit(m_aio, bits); }