Increase length of possible delays between flashes
This commit is contained in:
parent
82a1d2521c
commit
220b8e9d6a
|
@ -117,7 +117,7 @@ void lightningStrike(int pixel) {
|
||||||
|
|
||||||
strip.setPixelColor(pixel, strip.Color(scaledWhite, scaledWhite, scaledWhite));
|
strip.setPixelColor(pixel, strip.Color(scaledWhite, scaledWhite, scaledWhite));
|
||||||
strip.show();
|
strip.show();
|
||||||
delay(random(5, 80));
|
delay(random(5, 100));
|
||||||
currentDataPoint++;
|
currentDataPoint++;
|
||||||
currentDataPoint = currentDataPoint%NUM_Y_VALUES;
|
currentDataPoint = currentDataPoint%NUM_Y_VALUES;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue