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

How to integrate Beacon Transmitter Sample application with Push button function

Hi all,

I am new to nrf51-dk and I am using nRF5 SDK v11.0.0. I wanted to perform the task below.

When the DK is turned ON, read on board push button status.
If button is pressed, 
      advertise data packed A
else 
      advertise data packet B.

As of now, i am able to turn on and off led's based on push button by making use of the example program "Pin Change Interrupt Example". Also, using "Beacon Transmitter Sample Application" program, i am able to transmit (advertise) some data packets.

But, i couldn't integrate the programs together as I am not familiar with interrupts and this platform.

Is there any online program or tutorials where i can learn to do this? It's quite urgent and it would be of great help if anyone can help me

Thank You :)

Parents Reply Children
Related