FastLED 3.9.15
Loading...
Searching...
No Matches

◆ helpAdvanced

UIHelp helpAdvanced(R"(## Advanced FastLED Usage ### Color Management FastLED provides several ways to work with colors: - `CRGB` for RGB colors - `CHSV` for HSV colors - `ColorFromPalette()` for palette-based colors ```cpp // Set pixel colors leds[0] = CRGB::Red; leds[1] = CHSV(160, 255, 255); // Blue-green leds[2] = ColorFromPalette(RainbowColors_p, 64); ``` ### Animation Patterns Common animation techniques: 1. **Fading**: Use `fadeToBlackBy()` or `fadeLightBy()` 2. **Color cycling**: Modify HSV hue values 3. **Movement**: Shift array contents or use math functions ### Performance Tips - Call `FastLED.show()` only when needed - Use `FASTLED_DELAY()` instead of `delay()` - Consider using *fast math* functions for smoother animations)") ( R"(## Advanced FastLED Usage### Color ManagementFastLED provides several ways to work with colors:- `CRGB` for RGB colors- `CHSV` for HSV colors - `ColorFromPalette()` for palette-based colors```cpp// Set pixel colorsleds[0] = CRGB::Red;leds[1] = CHSV(160, 255, 255); // Blue-greenleds[2] = ColorFromPalette(RainbowColors_p, 64);```### Animation PatternsCommon animation techniques:1. **Fading**: Use `fadeToBlackBy()` or `fadeLightBy()`2. **Color cycling**: Modify HSV hue values3. **Movement**: Shift array contents or use math functions### Performance Tips- Call `FastLED.show()` only when needed- Use `FASTLED_DELAY()` instead of `delay()`- Consider using *fast math* functions for smoother animations)" )