for (int i = 0; i < LEDS_NUMBER; i++)
{
bsp_board_led_off(0);
nrf_delay_ms(500);
bsp_board_led_on(0);
}
in this code only the first command gets executed.
It turns off and remains in that state, if bsp_board_led_off(0) is replaced with bsp_board_led_on(0), then it remains on. I tried with multiple bsp_board_led_invert(0); but still no success. it just executes the 1st time. Has been a recurring issue