I create an iterrupt when I push button However, I could not manage to start advertising when the button is pushed How can I achieve it? Thank you
I create an iterrupt when I push button However, I could not manage to start advertising when the button is pushed How can I achieve it? Thank you
if (event_pins_low_to_high & (1 << BUTTON_0)) { nrf_gpio_pin_clear(LED_1); advertising_init(); advertising_start();
}
if (event_pins_low_to_high & (1 << BUTTON_0)) { nrf_gpio_pin_clear(LED_1); advertising_init(); advertising_start();
}
This is not an answer, add the information to your question by editing it.