My issue is how to change the HUE of a color.
Currently my code to light up the LED is
Code: Select all
color = 0xFF0000
strip.setPixelColor(1, color) My pseudo code would be something like this.
Code: Select all
color = 0xFF0000
Convert color to HSV
Increment the hue
Convert back to hex
strip.setPixelColor(1, updatedColor)I would love any advice.
Thanks.
Phil