#include <FastLED.h>
#define LED_PIN 7
#define NUM_LEDS 1
CRGB leds[NUM_LEDS];
void setup() {
// put your setup code here, to run once:
FastLED.addLeds<WS2812, LED_PIN, GRB>(leds, NUM_LEDS);
}
void loop() {
// put your main code here, to run repeatedly:
leds[0] = CRGB(255, 0, 0);
FastLED.show();
delay(100);
leds[0] = CRGB(0, 0, 0);
FastLED.show();
delay(2000);
}