I need to attach an analog sensor with resistor divider to DA14580. I need to create a profile that reads sensor values and transmits at an interval of 10sec. Can you please provide any example code to read analog sensor over ADC and send data over BLE?
Device:
Hi,
You could refer to /projects/target_apps/peripherals_examples/adc for ADC usage. You will also need to modify the project based on how your sensor and DA14580 connect.
With the integration of BLE profile, you are suggested referring to another sample project /projects/target_apps/ble_examples/ble_app_peripheral.