This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to blink the "BSP BOARD LED 1" by the "Multilink Central" exemple.

I have the devlopment kit pca 10028 with nrf51422

Thank you very much for the answer. MC

Parents Reply
  • Hello Aryan i have do it with nrf_gpio.. like this:

        #define CENTRAL_CONNECTED_LED  22
    
    static void leds_init(void)
    
    {
       nrf_gpio_cfg_output(CENTRAL_CONNECTED_LED);
       nrf_gpio_pin_clear(CENTRAL_CONNECTED_LED);
       while(1)
       {
           nrf_gpio_pin_toggle(CENTRAL_CONNECTED_LED);
           nrf_delay_ms(1000);
       }
    }
    

    The led now blink evry time, but i need that the led blink only when the periheral is connected.

    Sorry about my english. is possible that you send me a exemple for BSP und exemple for nrf_gpio. please with exactly where i must write the code.

    thank you very much mc

Children
No Data
Related