This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Simplest way to read an ADC input

Dear All, I would like a simple way to read the voltage on one ADC pin without using any "adc_event_handler"-like solution. I tried

reading=nrf_adc_convert_single(NRF_ADC_CONFIG_INPUT_2);

but without success.

Thanks

Francesco

Related