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

NRF52832 physical pin analogRead

Hello,

I'm trying to read an ADC value from a sensor(for POC I'll be using a pot wired to 3.3V VDD and GND) but all the examples I found only demonstrated reading the internal VDD with the 0.6V reference:

for example(simplest code I found):

github.com/.../main.c

and nothing with the VDD reference and an actual physical pin....

does anybody has an idea were can you get such an example or at least how should the example code be modified to work with say pin "P0.04" sins I'm quite a noobie?

Thanks for your time.

Related