![]() |
nRF Connect SDK API 3.3.99
|
| int dk_set_leds | ( | uint32_t | leds | ) |
#include <include/dk_buttons_and_leds.h>
Set value of LED pins as specified in one bitmask.
| leds | Bitmask that defines which LEDs to turn on and off. |
| 0 | If the operation was successful. Otherwise, a (negative) error code is returned. |