Dear All, I would like a simple way to read the voltage on one ADC pin without using any "adc_event_handler"-like solution. I tried
reading=nrf_adc_convert_single(NRF_ADC_CONFIG_INPUT_2);
but without success.
Thanks
Francesco
Dear All, I would like a simple way to read the voltage on one ADC pin without using any "adc_event_handler"-like solution. I tried
reading=nrf_adc_convert_single(NRF_ADC_CONFIG_INPUT_2);
but without success.
Thanks
Francesco
The function does not check if the ADC is initialized and powered
See: developer.nordicsemi.com/.../a00754.html
So are you sure that you have correctly initialized and powered the ADC?
The function does not check if the ADC is initialized and powered
See: developer.nordicsemi.com/.../a00754.html
So are you sure that you have correctly initialized and powered the ADC?