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

nrf52840 android application add supplementary led and buttons

i am student who studying nrf52840 DK.

i want to modify ble_app_blinky, to add supplementary led and buttons like this url

https://www.youtube.com/watch?v=l3q5e6pC8vU

i modified [ble_lbs_init] in [ble_lbs.c]

add_char_params.init_len = sizeof(uint16_t);

add_char_params.max_len = sizeof(uint16_t);

but i don't know how to add led index, (i.e led0, led1, led2, led3)

please help me.

Related