Deat all,
nRF5_SDK_12.3.0_d7731ad\examples\ble_peripheral\experimental_ble_app_blinky\pca10028\s130\arm5_no_packs
I use app "nRF connect for mobile" : I send CM : turn on led 24 -> Led 24 on , Turn off led led 24 -> led 24 off.
achievement : i get the result on the uart screen "turn on led 24" and "Turn off led led 24" but LED 24 not work. please help me to solve the problem
#define LEDBUTTON_LED1 24
at uart_event_handle : i code
if (index >= 14 && strncmp((const char*)&data_array[index - 8], "turn on led 24 ", 14) == 0)
{
nrf_gpio_pin_set(LEDBUTTON_LED1);
}
if (index >= 14 && strncmp((const char*)&data_array[index - 8], "turn on led 24 ", 14) == 0)
{
nrf_gpio_pin_clear(LEDBUTTON_LED1);
}
thank you,
Im sorry my english not ok.