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

Difference between nrf_gpio_pin_set() and

What is the difference between setting a pin output (to drive an LED) with this set of commands:

nrf_gpio_cfg_output(5);

nrf_gpio_pins_set(5);

and this set of commands:

bsp_board_leds_init(5);

bsp_board_led_on(5);

Thanks,

Dave

Related