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

◆ dk_set_leds()

int dk_set_leds ( uint32_t  leds)

#include <include/dk_buttons_and_leds.h>

Set value of LED pins as specified in one bitmask.

Parameters
ledsBitmask that defines which LEDs to turn on and off.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.