Hi
could some one be kind enough to tell me how to get two colors instead of one as below, this a an example I found I managed to change this to one color or random colors. but cant work out how to have two colors only Ie: red and blue.
void confetti_2( uint8_t colorVariation, uint8_t fadeAmount)
{
// random colored speckles that blink in and fade smoothly
fadeToBlackBy( leds, NUM_LEDS, fadeAmount);
int pos = random16(NUM_LEDS);
leds[pos] += CHSV( 240, 200, 200);
or the last line to
leds[pos] += CHSV( gHue + random16(colorVariation), 125, 255);
}
any help much appreciated thanks