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

nrf52832 sensor ADC read example questions.

Hi,

I'm quite a beginner to this whole nrf52832 world and I'm trying to read some data from a flex sensor wired in series with another resistor connected to VCC now I understand the whole ADC init thing with the sampling res and rate but can't get why would you need the RTC in this example... is this essential?

also the more important question is where is the function to extract the read ADC value from? say if I want to pass it into a buffer?

Here is the code I've been looking at:

raw.githubusercontent.com/.../main.c

Thanks for helping.

Related