FastLED 3.10.6
Loading...
Searching...
No Matches

◆ wave3()

void fl::wave3 ( u8 lane,
const Wave3BitExpansionLut & lut,
u8(&) output[sizeof(Wave3Byte)] )

Public single-lane wave3 encoder.

Thin wrapper around detail::wave3_convert_byte_to_wave3byte — kept for source- compat with existing callers.

Definition at line 132 of file wave3.cpp.hpp.

134 {
135 Wave3Byte wave3_output;
136 detail::wave3_convert_byte_to_wave3byte(lane, lut, &wave3_output);
137 output[0] = wave3_output.data[0];
138 output[1] = wave3_output.data[1];
139 output[2] = wave3_output.data[2];
140}
FL_IRAM FL_OPTIMIZE_FUNCTION void wave3_convert_byte_to_wave3byte(u8 byte_value, const Wave3BitExpansionLut &lut, Wave3Byte *output) FL_NO_EXCEPT
Convert one byte to a Wave3Byte using the nibble LUT.
Definition wave3.cpp.hpp:23
u8 data[3]
Definition wave3.h:21
Type-safe container for 3-byte wave pulse pattern (wave3 encoding)
Definition wave3.h:20

References fl::Wave3Byte::data, FL_NO_EXCEPT, FL_RESTRICT_PARAM, and fl::detail::wave3_convert_byte_to_wave3byte().

+ Here is the call graph for this function: