I want to undestand this. I can't see any examples with it. In the example ble_app_proximity I always received 100% level. If it possible, can anybody give a ADC config example for it? Thanks.
I want to undestand this. I can't see any examples with it. In the example ble_app_proximity I always received 100% level. If it possible, can anybody give a ADC config example for it? Thanks.
I watched this post. Thanks. Wich one of examples? I suppose ble_app_hrs_adc_battery_measurement. I try to do it. Thanks.
I tryed this example. Doesn't work on my SDK9. This example for SDK11. I mean than I can't compile
static nrf_drv_adc_channel_t adc_channel_config = NRF_DRV_ADC_DEFAULT_CHANNEL(NRF_ADC_CONFIG_INPUT_2);
there is no
nrf_drv_adc_channel_t
struct in SDK9
There was no ADC driver in SDK 9, this was first added in SDK 11. Only HAL driver is available. You need to add ADC driver from SDK 11 to SDK 9 (I think this should work without modifications), or migrate to at least SDK 11. You can also use the ADC HAL driver as shown in the ADC HAL example.