Set HSV for a specific pixel.
- Parameters
-
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) |
- Returns
- ESP_OK: Set HSV color for a specific pixel successfully
- ESP_ERR_INVALID_ARG: Set HSV color for a specific pixel failed because of an invalid argument
- ESP_FAIL: Set HSV color for a specific pixel failed because other error occurred