#include <FastLED.h>
#define NUM_LEDS 189
#define DATA_PIN 3
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);
}
void loop() {
for (int x = 1; x < 190; x++) {
int blink = 1;
for (int y = 1; y < 10; y++) {
if (blink > 0) {
leds[x] = CRGB(25, 0, 0);
}
if (blink < 0) {
leds[x] = CRGB(0, 0, 0);
}
blink = -blink;
FastLED.show();
delay(5);
}
blink = 1;
for (int y = 1; y < 10; y++) {
if (blink > 0) {
leds[x] = CRGB(0, 25, 0);
}
if (blink < 0) {
leds[x] = CRGB(0, 0, 0);
}
blink = -blink;
FastLED.show();
delay(5);
}
blink = 1;
for (int y = 1; y < 10; y++) {
if (blink > 0) {
leds[x] = CRGB(0, 0, 40);
}
if (blink < 0) {
leds[x] = CRGB(0, 0, 0);
}
blink = -blink;
FastLED.show();
delay(5);
}
leds[x] = CRGB(0, 0, 0);
FastLED.show();
}
}
FPS: 0
Power: 0.00W
Power: 0.00W