Function rc_adc_read_raw#

Function Documentation#

int rc_adc_read_raw(int ch)#

reads the raw integer ADC value for a particular channel

Parameters:

ch[in] channel 0-7

Returns:

16-bit adc reading on success, -1 on failure.