![]() |
nRF Connect SDK API 3.3.99
|
LED Effect . More...
Data Structures | |
| struct | led_color |
| Color of LED. More... | |
| struct | led_effect_step |
| Single step of a LED effect. More... | |
| struct | led_effect |
| Single LED effect. More... | |
Macros | |
| #define | COLOR_BRIGHTNESS_TO_PCT(_val) |
| #define | LED_COLOR_ARG_PASS(...) |
| Pass a color value as a macro argument. | |
| #define | LED_COLOR(_r, _g, _b) |
| #define | LED_NOCOLOR() |
| #define | LED_EFFECT_LED_ON(_color) |
| #define | LED_EFFECT_LED_OFF() |
| #define | LED_EFFECT_LED_ON_GO_OFF(_color, _on_time, _off_delay) |
| #define | LED_EFFECT_LED_BLINK2(_period_on, _period_off, _color) |
| #define | LED_EFFECT_LED_BLINK(_period, _color) |
| #define | LED_EFFECT_LED_BREATH(_period, _color) |
| #define | LED_CLOCK_BLINK_PERIOD 200 |
| Period of time between color changes while the LED is blinking (LED clock effect). | |
| #define | LED_CLOCK_SLEEP_PERIOD 1000 |
| Period of time when the LED is turned off (LED clock effect). | |
| #define | LED_EFFECT_LED_CLOCK(_ticks, _color) |
LED Effect .