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

◆ begin() [1/4]

template<typename TIMING>
void fl::ObjectFLED::begin ( uint16_t latch_delay_us = TIMING::RESET)
inline

Template-based begin method - extracts timing from TIMING struct at compile-time This is the preferred method for FastLED integration.

Template Parameters
TIMINGThe timing struct (e.g., TIMING_WS2812_800KHZ, TIMING_SK6812)
Parameters
latch_delay_usOptional LED latch delay in microseconds (uses TIMING::RESET if not specified)

Definition at line 125 of file ObjectFLED.h.

125 {
126 // Extract T1, T2, T3 directly from TIMING struct
127 // T1 = high time for '0' bit
128 // T2 = additional high time for '1' bit
129 // T3 = low tail duration
130 begin(TIMING::T1, TIMING::T2, TIMING::T3, latch_delay_us);
131 }
void begin(void)

References begin().

+ Here is the call graph for this function: