Hi, I want to simultaneously read the value from 3 analog pins. For this, do I create just one adc_init function and handler functions or do I need to create multiple initializing and handling functions; one per pin? Thanks.
Hi, I want to simultaneously read the value from 3 analog pins. For this, do I create just one adc_init function and handler functions or do I need to create multiple initializing and handling functions; one per pin? Thanks.
Hi
There is a code example for your scenario on the Nordic's Github page. There are also other ADC code examples there that use the ADC with the softdevice.
Thanks a lot...just as I suspected, I need to create multiple handlers
I can confirm this works perfectly, although the nrf_delay is a must for proper functioning.