nRF Connect SDK API 0.1.0
|
#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.
_period | Period of time between LED color switches. |
_color | Selected LED color. |