I need to measure with SAADC two channels in the same time (NRF_SAADC_INPUT_AIN6 and NRF_SAADC_INPUT_AIN4).
Is possible ?
Have you an code example?
Thanks
Marco
I need to measure with SAADC two channels in the same time (NRF_SAADC_INPUT_AIN6 and NRF_SAADC_INPUT_AIN4).
Is possible ?
Have you an code example?
Thanks
Marco
As awneil says, there is an example in the SDK which you can find in SDK\examples\peripheral\saadc.
This example only uses one pin, and one channel, but if you initialize another channel on a different pin, it will do sampling on both channels.
As awneil says, there is an example in the SDK which you can find in SDK\examples\peripheral\saadc.
This example only uses one pin, and one channel, but if you initialize another channel on a different pin, it will do sampling on both channels.