nRF Connect SDK API
3.3.99
Loading...
Searching...
No Matches
◆
led_off()
int led_off
(
uint8_t
led_unit
)
#include <
applications/nrf_audio/src/modules/led.h
>
Set the state of a given LED unit to off.
Note
A led unit is defined as an RGB LED or a monochrome LED. Using a LED unit assigned to another core will do nothing and return 0.
Parameters
led_unit
Selected LED unit. Defines are located in board.h.
Returns
0 on success. -EPERM if the module has not been initialized. -EINVAL if the color argument is illegal. Other errors from underlying drivers.
Audio LED Control
Generated on Wed Jun 10 2026 17:22:25 for nRF Connect SDK API by
1.12.0