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 reading battery voltage using nRF51822 microcontroller. I set the ADC configuration as 8 bit the result should be 255 but i am getting around 511 value. I am not sure this is the way can able to find the voltage.

I could not able to find what is wrong in this.? Battery voltage.c

Related