Set RGBW for a specific pixel.
- Note
- Only call this function if your led strip does have the white component (e.g. SK6812-RGBW)
-
Also see
led_strip_set_pixel
if you only want to specify the RGB part of the color and bypass the white component
- Parameters
-
strip | LED strip |
index | index of pixel to set |
red | red part of color |
green | green part of color |
blue | blue part of color |
white | separate white component |
- Returns
- ESP_OK: Set RGBW color for a specific pixel successfully
- ESP_ERR_INVALID_ARG: Set RGBW color for a specific pixel failed because of an invalid argument
- ESP_FAIL: Set RGBW color for a specific pixel failed because other error occurred