FastLED 3.10.6
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 149 of file ObjectFLED.h.

149 {
150 // Extract T1, T2, T3 directly from TIMING struct
151 // T1 = high time for '0' bit
152 // T2 = additional high time for '1' bit
153 // T3 = low tail duration
154 begin(TIMING::T1, TIMING::T2, TIMING::T3, latch_delay_us);
155 }
void begin(void)

References begin().

+ Here is the call graph for this function: