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

◆ configureLUT()

void fl::spi::ParallelDevice::configureLUT ( const u32 * set_masks,
const u32 * clear_masks )

Configure custom LUT (advanced)

Parameters
set_masksArray of 256 set masks (GPIO pins to set high for each byte value)
clear_masksArray of 256 clear masks (GPIO pins to clear low for each byte value)
Note
Default LUT maps byte bits directly to GPIO pins
Must be called before begin() or after begin() but before write()

Definition at line 274 of file parallel_device.cpp.hpp.

274 {
275 if (!set_masks || !clear_masks) {
276 FL_WARN("ParallelDevice: Invalid LUT pointers");
277 return;
278 }
279
280 // LUT configuration depends on backend type
281 // For now, this is a no-op
282 FL_DBG("ParallelDevice: LUT configuration not yet implemented");
283}
#define FL_WARN(X)
Definition log.h:276
#define FL_DBG
Definition log.h:388

References FL_DBG, and FL_WARN.

Referenced by operator=().

+ Here is the caller graph for this function: