how to turn on all 4 led one by one pressing button from transmitter and receiver.
how to turn on all 4 led one by one pressing button from transmitter and receiver.
Please provide more details about your current setup and what you want to achieve. For instance, what SDK version you are using, what wireless protocol you intend to use, etc.
I have two nRF52DK 52832 board. When I want turn on LED on board no.2 (RX) then have to I have to press button on board no.1(TX). if I press button in board no.1 then LED should be turn on no.1 LED in board 2. respectively same for LED 2,3,4.
currently i am using this program
TX : C:\nrf_sdk\examples\ble_peripheral\ble_app_blinky\pca10040\s132\ses
RX : C:\nrf_sdk\examples\ble_peripheral\ble_app_blinky\pca10040\s132\ses
i want to turn on LED by using Bluetooth protocol
currently I am using SEGGER embedded studio for ARM 7.10a
currently I am using SEGGER embedded studio for ARM 7.10a
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.
I did but i want turn on LED when i press TX number.1 button then led should be ON on RX LED number.1. now same if i press TX button 2 then LED should ON on RX 2. Again if i press TX button number.3 then LED number.3 on in RX. now again if i want to turn ON LED number.4 then i have to press TX button number.4 then it led should turn on in RX LED number.4.
Thanks for the clarification, but have you made any attempts to add support for this in the SDK example? You will need to re-assign the other buttons and LEDs and modify the led_write_handler() function.
I tried but it is not able turn on led give me other solution
Could you provide details on the steps you have taken so far and where you're encountering difficulties?