nRF Connect SDK API 0.1.0
|
#define LED_EFFECT_LED_BLINK2 | ( | _period_on, | |
_period_off, | |||
_color | |||
) |
#include <include/caf/led_effect.h>
Create LED blinking effect initializer with two periods as arguments.
LED color is periodically changed between the selected color and the LED turned off. This macro takes two periods: for on and off time.
_period_on | Period of time for which LED is on. |
_period_off | Period of time for which LED is off. |
_color | Selected LED color. |