#include <FastLED.h>
#define NUM_LEDS 200
#define LED_PIN 2
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<WS2812B, LED_PIN, GRB>(leds, NUM_LEDS);
FastLED.setBrightness(200);
}
void loop() {
for (int i = 0; i < NUM_LEDS; i+=1) {
leds[i] = CRGB::Blue;
if (random(100)<2){leds[i] = CRGB::White;delay(2);}
}
FastLED.show();
}