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

◆ LED_EFFECT_LED_ON

#define LED_EFFECT_LED_ON (   _color)

#include <include/caf/led_effect.h>

Value:
{ \
.steps = ((const struct led_effect_step[]) { \
{ \
.color = _color, \
.substep_count = 1, \
.substep_time = 0, \
}, \
}), \
.step_count = 1, \
.loop_forever = false, \
}
Single step of a LED effect.
Definition: led_effect.h:38

Create LED turned on effect initializer.

LED color remains constant.

Parameters
_colorSelected LED color.