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
๐ Detailed Build Status (Click to expand all platform badges)The build system is undergoing optimization and some builds may appear red during migration. Despite any red status, everything still works.
*Notes: * Giga-R1 support added in 3.9.14 โข ** ATtiny4313 has limited memory (WS2812 Blink + APA102 examples only)
*Note: NRF52 XiaoBLE board has mbed engine but doesn't compile against Arduino.h for unknown reasons.
*Beta support added in 3.10.2
STM32 (STMicroelectronics)*Note: STM103TB has limited PlatformIO support
*Notes: * ESP32-C2 support added in 3.9.10 โข Espressif compatibility evaluation
โก 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
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
Advanced animation framework for complex LED visualizations and effects.
FastLED 3.9.16: WaveFx / Multi Layer CompositingMulti-layer compositing & time-based animation control for tech-artists.
fx_wave_demo_small.mp4๐บ Live Demos โข ๐ Full Changelog
๐ Detailed Feature Information (Click to expand) New in 3.10.0: Animartrix out of beta New in 3.9.16: WaveFx / Multi Layer Compositing / Time-based animation controlVideo:
fx_wave_demo_small.mp4 Major release for tech-artists!Lots of improvements in this release, read the full change list here
*Note some users find that newer versions of the ESP32 Arduino core (3.10) don't work very well, but older versions do, see issue 1903
New in 3.9.8 - Massive Teensy 4.1 & 4.0 WS2812 LED outputUpdate: max overclock has been reported at +70%: https://www.reddit.com/r/FastLED/comments/1gkcb6m/fastled_FASTLED_OVERCLOCK_17/
New in 3.7.7 - RGBW LED Strip Support Arduino Family ESP32 Series Teensy ARM Specialty Uno, Nano, MegaFastLED supports 50+ platforms! From sub-$1 ATtiny chips to high-end Teensy 4.1 with 50 parallel outputs.
Arduino IDE PlatformIO Package Managers Library Manager โ Search "FastLED" โ Installlib_deps = fastled/FastLED
pio pkg install --library "fastled/FastLED"
Or install latest release .zip Add to platformio.ini
Command line installation
After installing the Arduino IDE, add FastLED through the Library Manager:
๐ Documentation & SupportNeed Help? Visit r/FastLED - thousands of knowledgeable users and extensive solution history!
Performance Leaders: Parallel Output Records Platform Max Parallel Outputs Performance Notes Teensy 4.1 50 parallel strips Current record holder - Example Teensy 4.0 42 parallel strips High-performance ARM Cortex-M7 ESP32DEV 24 via I2S + 8 via RMT I2S Example ESP32-S3 16 via I2S + 4 via RMT S3 ExampleNote: Some ESP32 Arduino core versions (3.10+) have compatibility issues. Older versions work better - see issue #1903
Exotic Setups (120+ Outputs!)Custom shift register boards can achieve extreme parallel output:
FastLED supports virtually every LED chipset available:
Clockless (3-wire) SPI-based (4-wire) Specialty WS281x Family: WS2811, WS2812 (NeoPixel), WS2812-V5B, WS2815 APA102 / DotStars: Including HD107s (40MHz turbo) SmartMatrix Panels TM180x Series: TM1809/4, TM1803 High-Speed SPI: LPD8806, WS2801, SM16716 DMX Output Other 3-wire: UCS1903, GW6205, SM16824E APA102HD: Driver-level gamma correction P9813 Total ControlRGBW Support: WS2816 and other white-channel LED strips โข Overclocking: WS2812 up to 70% speed boost
More details: Chipset Reference Wiki
APA102 High Definition Mode#define LED_TYPE APA102HD // Enables hardware gamma correction void setup() { FastLED.addLeds<LED_TYPE, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); }
Read more: APA102 HD Documentation โข Rust Implementation
๐ ๏ธ Development & ContributingReady to contribute? FastLED welcomes code contributions, platform testing, documentation improvements, and community support.
๐ง Development Setup & Contributing Guide (Click to expand)Zero pain setup - can be done from command line in seconds with uv
or python
:
Steps:
git clone https://github.com/yourusername/FastLED.git
bash compile
(select your target platform)See our detailed Contributing Guide for more information.
Use the compile
script to test on 20+ platforms:
Platform Porting: Information on porting FastLED to new platforms: PORTING.md
What's in the name? Originally "FastSPI_LED" focused on high-speed SPI, but evolved to support all LED types and became "FastLED" - everything fast, for LEDs.
Official Site: fastled.io - documentation, issues, and news
Daniel Garcia, Founder of FastLEDIn Memory of Daniel Garcia Daniel Garcia, the brilliant founder of FastLED, tragically passed away in September 2019 in the Conception dive boat fire alongside his partner, Yulia. This heartbreaking loss was felt deeply by the maker and developer community, where Daniel's contributions had left an indelible mark.
Daniel was more than just a talented programmer; he was a passionate innovator who transformed the way creators interacted with LED technology. His work on FastLED brought high-performance LED control to countless projects, empowering developers to craft breathtaking installations.
In his personal life, Daniel was known for his kindness and creativity. His pride in FastLED and the vibrant community it fostered was a testament to his dedication to open-source development and his commitment to helping others bring light into the world.
While Daniel is no longer with us, his legacy continues through the FastLED library and the countless makers who use it. The community he built serves as a living tribute to his ingenuity, generosity, and the joy he found in sharing his work with the world.
About the Current ContributorZach Vorhies, the current main contributor to FastLED, briefly worked with Dan in 2014 in San Francisco and was an avid user of the FastLED library for over 13 years. After Daniel Garciaโs untimely passing, Zach stepped up to ensure FastLEDโs continued growth and development.
Zach has this to say about FastLED:
"The true power of FastLED lies in its ability to transform programmers into LED artists. Free space becomes their canvas; bending light is their medium. FastLED is a collective effort by programmers who want to manifest the world that science fiction writers promised us. -- To contribute code to FastLED is to leave behind a piece of something immortal."
๐ซ In memory of Daniel Garcia and the vision that transforms programmers into LED artists
To stay updated on the latest feature releases, please click the Watch
button in the upper right
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4