nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ dk_set_led_on()

int dk_set_led_on ( uint8_t led_idx)

#include <include/dk_buttons_and_leds.h>

Turn a single LED on.

Parameters
led_idxIndex of the LED.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.