Hello all,
I have been testing the SAADC example from the peripheral directory.
The goal is to acquire a single sample from SAADC using nrf_drv_saadc_sample_convert() function.
I read over the internet and heard from that nrf_drv will be depricated, so I want to switch to nrfx library.
The issue is that, when I use nrf_drv library I get an ADC output from 0-1023, but nrfx is only from 0-255.
Above is the code with nrf_drv library (Desired)
Above is the code for SAADC with nrfx which gives a range of 0-255 (Not desired)
I am not able to figure out about how to get SAADC working with nrfx library.
May be I am missing out on something. Could you help me out?
Thanks!
Best regards,
Navin