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

reading battery voltage using nrf51822

Hi, I am working on reading battery voltage of nRF51822 Microcontroller.

I have used the openbecon(internet) code for ADC configuration and reading.

I am getting 28 or 27 as ADC output.

is there any mistake in the code..?? I have modified and compiled the code.

main.c

Related