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

◆ LED_EFFECT_LED_BLINK

#define LED_EFFECT_LED_BLINK (   _period,
  _color 
)     LED_EFFECT_LED_BLINK2(_period, _period, LED_COLOR_ARG_PASS(_color))

#include <include/caf/led_effect.h>

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