#include "FastLED.h" #define DATA_PIN 18 //#define CLK_PIN 4 #define LED_TYPE WS2812 #define COLOR_ORDER GRB #define NUM_LEDS 64 CRGB leds[NUM_LEDS]; #define BRIGHTNESS 96 void setup() { pinMode(DATA_PIN, OUTPUT); // tell FastLED about the LED strip configuration FastLED.addLeds(leds, NUM_LEDS).setCorrection(TypicalLEDStrip); // set master brightness control FastLED.setBrightness(BRIGHTNESS); fill_solid(leds, NUM_LEDS, CRGB::Blue); FastLED.show(); } void loop() { }