Home
last modified time | relevance | path

Searched refs:rgb_adj (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/examples/peripherals/rmt/led_strip/main/
Dled_strip_main.c38 uint32_t rgb_adj = (rgb_max - rgb_min) * diff / 60; in led_strip_hsv2rgb() local
43 *g = rgb_min + rgb_adj; in led_strip_hsv2rgb()
47 *r = rgb_max - rgb_adj; in led_strip_hsv2rgb()
54 *b = rgb_min + rgb_adj; in led_strip_hsv2rgb()
58 *g = rgb_max - rgb_adj; in led_strip_hsv2rgb()
62 *r = rgb_min + rgb_adj; in led_strip_hsv2rgb()
69 *b = rgb_max - rgb_adj; in led_strip_hsv2rgb()