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

Controlling another LED by adding a new characteristic to ble_app_blinky project in ble_peripheral

Hello all i want to do a task that is control another LED using ble_app_blinky. In the ble_app_blinky project a characteristic is used to control an onboad LED. I have connected a LED to pin 20 and want to control it. Under the LED Button Service I have added another characteristic. I have written a seperate write handler for it and i am calling it in on_write function. I am new to bluetooth and i need some help with the said task. I am attaching ble_lbs.c and ble_lbs.h file below  

Related