#include <FastLED.h>
#define LED_COUNT 16
#define LED_PIN 22
CRGB strip[LED_COUNT];
void setup()
{
FastLED.addLeds<WS2812B, LED_PIN, RGB>(strip, LED_COUNT);
}
void loop()
{
while (true)
{
for(int i = 0; i < LED_COUNT; i++)
{
strip[i] = CRGB(4, 68, 232);
}
FastLED.show();
delay(2000);
for(int i = 0; i < LED_COUNT; i++)
{
strip[i] = CRGB(221, 255, 0);
}
FastLED.show();
delay(2000);
}
}