//for mapotter99
//https://www.reddit.com/r/FastLED/comments/vjz3yl/convert_this_to_fastled_and_led_strip_for_beating/

#include "FastLED.h"

// LEDs pin
#define DATA_PIN 3
// LED brightness
#define BRIGHTNESS 255
#define NUM_LEDS 2
// Define the array of leds
CRGB leds[NUM_LEDS];

void setup() {
  FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
  FastLED.setBrightness(BRIGHTNESS);
}

void loop() {

leds [1] = CHSV (0,255, 255);
delay (300);
LEDS.show();
leds [1]=0;
delay (300);
LEDS.show();
for (int i = 255; i > -1; i--) {
  leds[0] = CHSV (0,255, i);
  delay (1);
  LEDS.show();
}
} //loop