Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Vivian Lim | f83c17147f |
|
@ -96,8 +96,8 @@
|
|||
#define BT_CHECK_CONN_MODULO 20
|
||||
#define MIN_SATURATION 192
|
||||
#define MAX_SATURATION 255
|
||||
#define MIN_RATE 1
|
||||
#define MAX_RATE 3
|
||||
#define MIN_RATE 2
|
||||
#define MAX_RATE 4
|
||||
#define SPEED 20
|
||||
|
||||
CRGB leds[NUM_LED];
|
||||
|
@ -215,7 +215,9 @@ void loop(void)
|
|||
else if (brightnesses[i] <= MIN_BRIGHTNESS)
|
||||
{
|
||||
// reset this pixel to a different color and start anew.
|
||||
hues[i] = globalHue + random(0,HUE_SPREAD);
|
||||
//hues[i] = globalHue + random(0,HUE_SPREAD);
|
||||
hues[i] = 210 + random(0,60);
|
||||
|
||||
saturations[i] = random(MIN_SATURATION,MAX_SATURATION);
|
||||
rates[i] = random(MIN_RATE,MAX_RATE);
|
||||
brightnesses[i] = MIN_BRIGHTNESS;
|
||||
|
|
Loading…
Reference in New Issue