nRF Connect SDK API 2.7.99
|
#define COLOR_BRIGHTNESS_TO_PCT | ( | _val | ) | ((_val * 100) / UINT8_MAX) |
#include <include/caf/led_effect.h>
Transform color brightness from 8-bit space to percentage representation.
_val | Color brightness in 0-255 range |