MCPcopy Create free account
hub / github.com/FastLED/FastLED

github.com/FastLED/FastLED @3.10.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.10.5 ↗ · + Follow
23,249 symbols 64,517 edges 3,012 files 7,817 documented · 34% updated 1d ago3.10.4 · 2026-06-16★ 7,446286 open issues

Browse by type

Functions 19,181 Types & classes 4,057 Endpoints 11
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

FastLED - The Universal LED Library for Embedded and Arduino

Transform any microcontroller into an LED powerhouse.

Drive 30,000+ LEDs on high-end devices • Sub-$1 compatibility on tiny chips • Background rendering for responsive apps • Nearly every LED chipset supported#2 most popular Arduino library

Arduino's 2nd Most Popular Library Build Status Project Tracker

Unit Tests (Linux) Unit Tests (macOS) Unit Tests (Windows)

Example Tests (Linux) Example Tests (macOS) Example Tests (Windows)

Documentation Community

⚡ Get Blinking in 30 Seconds

#include <FastLED.h>
#define NUM_LEDS 60
CRGB leds[NUM_LEDS];

void setup() { 
  FastLED.addLeds<WS2812, 6>(leds, NUM_LEDS); 
}

void loop() {
  leds[0] = CRGB::Red; FastLED.show(); delay(500);
  leds[0] = CRGB::Blue; FastLED.show(); delay(500);
}

✅ Works on Arduino, ESP32, Teensy, Raspberry Pi, and 50+ other platforms

📖 Just Getting Started?

See our Cookbook for tutorials and walkthroughs →

The FastLED Cookbook provides practical guides, step-by-step examples, and copy-paste recipes to help you create stunning LED effects - from your first blink to advanced animations.

🚀 Why FastLED?

Massive Scale Tiny Footprint Background Rendering Universal
Drive 30,000 LEDs on Teensy 4.1 Runs on $0.50 ATtiny chips ESP32/Teensy render while you code Works on 50+ platforms
50 parallel strips on Teensy <2KB on Arduino Uno Never miss user input Nearly every LED chipset

🎯 Performance: Zero-cost global brightness • High-performance 8-bit math, memory efficient on platforms that need it. 🔧 Developer Experience: Quick platform switching • Extensive examples • Active community support

📂 Source Code Directory Structure

FastLED's codebase is organized into several major areas. Each directory contains a README with detailed documentation:

Path Description
src/README.md Overview of the FastLED source tree including public headers, core foundation, effects, platforms, sensors, and third-party integrations
src/fl/README.md FastLED core library (fl::) providing cross-platform STL-like containers, graphics primitives, math, async, JSON, and I/O utilities
src/fx/README.md FX library with 1D/2D effects, video playback, composition utilities, and links to effect subdirectories
src/platforms/readme.md Platform directory overview with backend selection guide, controller types, board-specific documentation, and links to all platform subdirectories

Table of Contents

📊 Detailed Build Status

Emulation Tests

ESP32 (QEMU): ESP32-DEV QEMU Test ESP32-C3 QEMU Test ESP32-S3 QEMU Test

AVR (AVR8JS): uno AVR8JS Test

Arduino Family

Core Boards: uno atmega8a nano_every uno_r4_wifi atmega32u4_leonardo

ARM Boards: sam3x8e_due

ATtiny Series: attiny85 attiny88 attiny1604 attiny1616 attiny4313*

*Note: ATtiny4313 has limited memory (WS2812 Blink + APA102 examples only)

Teensy Series

Standard Models: teensy30 teensy31 teensy32 teensy35 teensy36 teensyLC teensy40 teensy41

Special Features: teensy_octoWS2811 teensy41 ObjectFLED

NRF52 (Nordic)

nrf52840_sense nordicnrf52_dk adafruit_xiaoblesense nrf52_xiaoblesense nrf52840_supermini

*Note: NRF52 XiaoBLE board has mbed engine but doesn't compile against Arduino.h for unknown reasons.

Apollo3 (Ambiq)

apollo3_red apollo3_thing_explorable

*Beta support added in 3.10.2

STM32 (STMicroelectronics)

stm32f103c8_bluepill stm32f411ce_blackpill stm32f103cb_maplemini stm32f103tb_tinystm nucleo_f429zi nucleo_f439zi stm32h747xi_giga arduino_uno_q

Silicon Labs (SiLabs)

ThingPlusMatter_mgm240s

*MGM240 (EFR32MG24) support for Arduino Nano Matter, SparkFun Thing Plus Matter, and Seeed Xiao MG24 Sense boards

Raspberry Pi Pico

rp2040 rp2350 rp2350B SparkfunXRP

ESP32 (Espressif)

ESP8266: esp32-8266

ESP32 Classic: esp32dev esp32wroom

**ESP3

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 12,903
Function 6,278
Class 3,788
Enum 213
Interface 56
Route 11

Languages

C++76%
Python20%
TypeScript3%
Rust1%

Modules by API surface

ci/lint_cpp_rs/src/lib.rs268 symbols
src/fl/stl/type_traits.h212 symbols
src/fl/audio/audio_processor.cpp.hpp171 symbols
src/fl/stl/detail/rbtree.h151 symbols
examples/AutoResearch/AutoResearchSimd.h136 symbols
src/fl/stl/json/types.h111 symbols
src/fl/math/filter/filter.h109 symbols
tests/misc/containers.cpp108 symbols
ci/lint_cpp/test_noexcept_special_members_checker.py103 symbols
tests/fl/math/fixed_point.cpp96 symbols
ci/tests/test_sketch_filter.py96 symbols
ci/lint_cpp/test_native_platform_defines_checker.py95 symbols

For agents

$ claude mcp add FastLED \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page