/*
Splendida AquaPurple Rotate
Author: Anderson Costa
Date: 2021-03-06
*/
#include <FastLED.h>
// LED settings
#define NUM_LEDS 256
#define CHIPSET WS2812B
#define DATA_PIN 3
// LED brightness
#define BRIGHTNESS 255
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<CHIPSET, DATA_PIN, GRB>(leds, NUM_LEDS);
FastLED.setBrightness(BRIGHTNESS);
}
void loop() {
static byte index = 0;
leds[index++].setHue(index*8);
FastLED.delay(20);
}