Turn on all 4 led using master and slave

how to turn on all 4 led one by one pressing button from transmitter and receiver.

Parents Reply
  • Ok, so everything is working as expected now, except you want to turn on all LEDs, not just LED 1? In that case, you can replace the calls to bsp_board_led_on(LEDBUTTON_LED); and bsp_board_led_off(LEDBUTTON_LED); with bsp_board_leds_on(); and bsp_board_leds_off(); respectively.

    Note that if you do this, you can no longer use BSP_BOARD_LED_1 and BSP_BOARD_LED_0 to indicate connection and advertising status. 

Children
Related