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

◆ setup()

void setup ( )

Definition at line 16 of file Esp8266Uart.ino.

16 {
17 // Initialize UART-based LED controller
18 // Uses hardware UART for stable timing under Wi-Fi load
19 FastLED.addLeds<fl::UARTController_ESP8266, GRB>(leds, NUM_LEDS);
20 FastLED.setBrightness(50);
21}
#define NUM_LEDS
fl::CRGB leds[NUM_LEDS]
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
constexpr EOrder GRB
Definition eorder.h:19

References FastLED, GRB, leds, and NUM_LEDS.