src/platforms/neopixelbus/README.md
NeoPixelBus integration providing a FastLED‑compatible clockless controller implemented on top of the NeoPixelBus library.
clockless.h: Adapter layer. Provides ClocklessController and NeoPixelBusLikeClocklessT templates that translate FastLED pixel data to NeoPixelBus (Begin/Show, method selection per platform, color feature mapping). Includes an RGBW variant (NeoPixelBusRGBWController).NeoPixelBusMethodSelector<DATA_PIN>::DefaultMethod picks a default per platform (e.g., NeoEsp32Rmt0800KbpsMethod on ESP32, NeoAvr800KbpsMethod on AVR, etc.).NeoPixelBusColorFeature<RGB_ORDER> maps FastLED’s EOrder to NeoPixelBus features (NeoGrbFeature, NeoRgbFeature, ...).CanShow() checked before sending; avoids overlapping updates.Method selection examples (subject to NeoPixelBus version/platform):
NeoEsp32Rmt0800KbpsMethod for GRB @ 800 Kbps (WS2812‑class)NeoEsp8266BitBang800KbpsMethod or UART‑based variants depending on pinNeoAvr800KbpsMethodRGB order mapping:
RGB → NeoPixelBus NeoRgbFeatureGRB → NeoPixelBus NeoGrbFeatureRGBW (emulated white) → NeoPixelBus NeoGrbwFeature path in the RGBW controllerNote: Actual defaults may change with NeoPixelBus releases; NeoPixelBusMethodSelector<DATA_PIN>::DefaultMethod is the source of truth at compile time.
FASTLED_USE_NEOPIXEL_BUS: Default 0 (unless building docs). When 1, enables the NeoPixelBus adapter; requires NeoPixelBus.h. If the header is missing, the adapter disables itself with an error.Define before including FastLED.h.