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

◆ LED_EFFECT_LED_BLINK

#define LED_EFFECT_LED_BLINK ( _period,
_color )

#include <include/caf/led_effect.h>

Value:
LED_EFFECT_LED_BLINK2(_period, _period, LED_COLOR_ARG_PASS(_color))
#define LED_COLOR_ARG_PASS(...)
Pass a color value as a macro argument.
Definition led_effect.h:83
#define LED_EFFECT_LED_BLINK2(_period_on, _period_off, _color)
Definition led_effect.h:178

Create LED blinking effect initializer with one period given

LED color is periodically changed between the selected color and the LED turned off. The same time is used for both: on and off time.

Parameters
_periodPeriod of time between LED color switches.
_colorSelected LED color.
See also
LED_EFFECT_LED_BLINK