something?

This commit is contained in:
Vivian Lim 2019-10-20 20:13:06 -07:00
parent c97424ade8
commit f83c17147f
1 changed files with 5 additions and 3 deletions

View File

@ -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;