#include <FastLED.h>
#define LED_PIN 7 //Tells arduino send code to pin 7
#define NUM_LEDS 4 //4 leds are attached
CRGB leds[NUM_LEDS];
void setup () {
FastLED.addLeds<WS2812, LED_PIN, GRB>(leds, NUM_LEDS);
FastLED.show();
};
void loop () {
leds[0] = CRGB(0, 255, 64);
FastLED.show();
delay(200);
leds[1] = CRGB::Red;
FastLED.show();
delay(200);
leds[2] = CRGB(0, 255, 64);
FastLED.show();
delay(200);
leds[3] = CRGB::Red;
FastLED.show();
delay(200);
leds[0] = CRGB(0, 255, 64);
FastLED.show();
delay(200);
leds[1] = CRGB(0,255,64);
FastLED.show();
delay(200);
leds[2] = CRGB::Red;
FastLED.show();
delay(200);
leds[3] = CRGB(0, 255, 64);
FastLED.show();
delay(200);
leds[0] = CRGB::Red;
FastLED.show();
delay(200);
leds[1] = CRGB::Red;
FastLED.show();
delay(200);
leds[2] = CRGB(0, 255, 64);
FastLED.show();
delay(200);
leds[3] = CRGB::Red;
FastLED.show();
delay(200);
leds[0] = CRGB(0, 255, 64);
FastLED.show();
}