//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);
  LEDS.show();
  delay (350);
  leds [1]=0;

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

} //loop