FastLED 3.9.15
|
esp_err_t led_strip_set_pixel_hsv | ( | led_strip_handle_t | strip, |
uint32_t | index, | ||
uint16_t | hue, | ||
uint8_t | saturation, | ||
uint8_t | value ) |
Set HSV for a specific pixel.
strip | LED strip |
index | index of pixel to set |
hue | hue part of color (0 - 360) |
saturation | saturation part of color (0 - 255, rescaled from 0 - 1. e.g. saturation = 0.5, rescaled to 127) |
value | value part of color (0 - 255, rescaled from 0 - 1. e.g. value = 0.5, rescaled to 127) |
References hue.