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

adc Calculation

AD value and voltage conversion between the calculation formula

adc_config.resolution = NRF_ADC_CONFIG_RES_10BIT;
adc_config.scaling    = NRF_ADC_CONFIG_SCALING_INPUT_ONE_THIRD;
adc_config.reference  = NRF_ADC_CONFIG_REF_VBG;
        	
nrf_adc_configure(&adc_config);
Related