cookbook/reference/README.md
Difficulty Level: ⭐ All Levels Time to Find Information: 2-5 minutes (depending on what you're looking up) Prerequisites: None (reference materials are self-contained and can be used at any point in your learning journey)
You'll Find:
This section provides quick reference materials for FastLED development.
Setup and Display
FastLED.addLeds<LED_TYPE, DATA_PIN, COLOR_ORDER>(leds, NUM_LEDS);
FastLED.show();
FastLED.setBrightness(50);
Color Creation
CRGB color = CRGB(255, 0, 0); // RGB
CHSV color = CHSV(0, 255, 255); // HSV
Array Operations
fill_solid(leds, NUM_LEDS, CRGB::Red);
fadeToBlackBy(leds, NUM_LEDS, 20);
blur1d(leds, NUM_LEDS, 50);
FastLED supports a wide range of microcontrollers:
See Pin Configurations for platform-specific details.
FastLED supports numerous LED chipsets including:
See LED Types for complete list and usage examples.