Hello,
A question regarding the Twinkle effect,
Is it easy to be able to change the colour of the LEDs in the Twinkle effect via web control via json?
I ask if it is easy as I have very little experience with Arduino, I am currently using homeassistant https://home-assistant.io/ to control my WS2812B LEDs via a ESP8266 using BRUH Automations tutorial https://youtu.be/9KI36GTgwuQ
@will_parker are you asking about the glitter effect in the demoreel100 example? If not, please put the code you’re working with on http://gist.github.com and share the link so someone can help out.
Yes you should be able to change it. Looks like the color is specified on line 737:
const CRGB lightcolor(8, 7, 1)
Try changing those rgb numbers a bit and see what you get. You could make it random colors too (will need to remove the const part). Maybe try something like:
CRGB lightcolor(random8(1,9), random8(1,8), random8(1,5))