cookbook/getting-started/installation.md
How to install FastLED for your development environment.
Difficulty Level: ⭐ Beginner Time to Complete: 10-20 minutes (depending on internet speed and IDE download) Prerequisites: None - this is the software setup step You'll Learn:
PlatformIO provides the best development experience with dependency management, multiple board support, and easy configuration.
Add FastLED to your platformio.ini:
[env:myboard]
platform = ...
board = ...
lib_deps =
fastled/FastLED
If you need to install from source:
FastLED folder to your libraries directory:
Documents\Arduino\libraries\~/Documents/Arduino/libraries/~/Arduino/libraries/Test your installation with this minimal program:
#include <FastLED.h>
void setup() {
Serial.begin(115200);
Serial.println("FastLED is installed!");
}
void loop() {
// Your code here
}
If it compiles without errors, you're ready to go!