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

◆ digitalMultiWrite16()

void fl::digitalMultiWrite16 ( const Pins16 & pins,
fl::span< const u16 > pin_data )

Convenience free function — creates a temporary DigitalMultiWrite16, initializes it, and writes.

For repeated writes, prefer the class directly to amortize the LUT build cost.

Definition at line 385 of file pins.cpp.hpp.

385 {
386 DigitalMultiWrite16 writer;
387 writer.init(pins);
388 writer.write(pin_data);
389}
int pins[]
Definition Spi.ino:11
void write(fl::span< const u16 > pin_data) const
Write pre-transposed 16-bit data to the 16 pins.
Definition pins.cpp.hpp:328
void init(const Pins16 &pins)
Initialize from 16 pin numbers. -1 means "skip this bit position".
Definition pins.cpp.hpp:275
Pre-computed nibble LUT for fast 16-pin digital writes.
Definition pins.h:93

References fl::DigitalMultiWrite16::init(), pins, and fl::DigitalMultiWrite16::write().

+ Here is the call graph for this function: