Function rc_adc_read_raw¶
Defined in File adc.h
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.
Defined in File adc.h
reads the raw integer ADC value for a particular channel
ch – [in] channel 0-7
16-bit adc reading on success, -1 on failure.