Is there any simple way of reading analog values from pin. Setting up SAADC is giving too much of errors like command line action failed or any variable is undeclared whose header file is correctly included
Is there any simple way of reading analog values from pin. Setting up SAADC is giving too much of errors like command line action failed or any variable is undeclared whose header file is correctly included
I don't see your errors here, but I got one on e-mail. 'TIMER_DEFAULT_CONFIG_FREQUENCY
is not defined in nfr_drv_timer.h, it is only used here. This NRF_CONFIG macro should be defined in sdk_config.h. If you do not have the nrf_drv_timer part in your sdk_config.h file, you need to copy this from the full sdk_config.h file found in nRF5_SDK_13.0.0\config\sdk_config.h
. You can also find the correct settings for SAADC example in nRF5_SDK_13.0.0\examples\peripheral\saadc\pca10056\blank\config\sdk_config.h
.
I don't see your errors here, but I got one on e-mail. 'TIMER_DEFAULT_CONFIG_FREQUENCY
is not defined in nfr_drv_timer.h, it is only used here. This NRF_CONFIG macro should be defined in sdk_config.h. If you do not have the nrf_drv_timer part in your sdk_config.h file, you need to copy this from the full sdk_config.h file found in nRF5_SDK_13.0.0\config\sdk_config.h
. You can also find the correct settings for SAADC example in nRF5_SDK_13.0.0\examples\peripheral\saadc\pca10056\blank\config\sdk_config.h
.