Hi! I need to sample and send adc values using ble_nus to read it on an android device. I am using nrf 51DK and SDK version 10. I tried the below two codes but they are not working. I am not able to complile the first one. I loaded the second one in nrf51dk(using SDK 9) but my phone is unable to find any ble device. The board is not advertising and led1 is not blinking.
Please suggest any other working code.