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

◆ EdgeTime() [2/2]

fl::EdgeTime::EdgeTime ( bool high_level,
u32 ns_duration )
inlineconstexpr

Construct from high/low state and duration.

Definition at line 42 of file rx.h.

43 : ns(ns_duration), high(high_level ? 1 : 0) {}
u32 ns
Duration in nanoseconds (31 bits, max ~2.1s)
Definition rx.h:35
u32 high
High/low level (1 bit: 1=high, 0=low)
Definition rx.h:36

References FL_NOEXCEPT.