Back to Fastled

FastLED Cookbook

cookbook/README.md

3.10.32.9 KB
Original Source

FastLED Cookbook

A practical guide to creating LED effects with FastLED.

This cookbook is organized into focused sections, each covering a specific aspect of LED programming with FastLED.

Table of Contents

Getting Started

Learn the basics to get your LED strip up and running.

Core Concepts

Understand the fundamental building blocks of LED programming.

Basic Patterns

Start creating your first LED animations and effects.

Classical LED Drawing

Learn fundamental pixel manipulation techniques.

  • Direct pixel addressing: leds[i] = CRGB::Red
  • Array-based control and LED mapping
  • XY coordinate mapping for matrix layouts
  • Basic drawing primitives for LED strips and grids

Intermediate Techniques

Level up with more advanced programming techniques.

Advanced Effects

Create professional-grade LED installations and effects.

Common Recipes

Copy-paste ready recipes for popular LED effects.

Troubleshooting

Solve common problems and debug your LED setup.

Reference

Quick reference guides and configuration tables.


Additional Resources


Note: This cookbook is a living document. Contributions welcome!