This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to add the pin_interrupt_change program in Bluetooth program

Hi,

I am working on Bluetooth peripheral  and pin_interrupt_change program in nrf51422 on sdk 12.3 .

so I  added pin_interrupt_change program in the ble_app_uart program in Bluetooth  peripheral. So now  the problem is the  Bluetooth is not advertising and pin_interrupt_change program is not working ..now all the LED  are lit up... so i didn't get what is the  problem ..plz give me the solution.

  • Hi,

    Most likely you get an error because the GPIOTE driver has already been initialized (by app_button module used by the BSP library).

    You can try this approach to check if the driver is initialized before initializing it:

    Best regards,
    Jørgen

  • Thanks for the reply.

    sorry for the reply.

    I will try.