#include <FastLED.h>
#define LEDSNUM 3
#define DATAPIN 5
CRGB leds[LEDSNUM];
void setup()
{
FastLED.addLeds<NEOPIXEL, DATAPIN> (leds, LEDSNUM);
}
void loop()
{
for(uint8_t i = 0; i < 3; i++)
{
leds[i] = CRGB:: Red;
FastLED.show();
delay(1000);
leds[i] = CRGB:: Black;
}
}