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

How to switch on a led of a dongle by pressing the button of another dongle nrf52840

Hello,

I would like to switch on a led of a nrf52840 dongle by pressing the buton of another dongle. I don't know which example to use from SDK 17.0.2 to make a master/slave relationship and solve my problem. I'll take every leads or clue that put me on the way to succed.

Also, I'd like to know how I can pair those dongles immediately so that they recognize each other.

I don't know if I am clear, but I hope that you could help me.

Best regards 

Ocr

Parents Reply
  • Thank you for your prompt response.


    I followed your advice, however I have the impression that the dongle does not take into account the example ble_app_blinky_c whereas I changed in preprocessor option, BOARD_PCA10056 to BOARD_PCA10059. When I plug in the dongle I see a single flashing of LED1 (green led) and then nothing.

    I don't understand what I did wrong.
    I tried to reprogram the blinky example for PCA10056 to work on PCA10059 and I succeeded, but with the ble_app_blinky_c example it doesn't work.

    Thanks for your answer and sorry for my shortcomings

    Ocr

Children
No Data
Related