FastLED 3.10.6
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 379 of file pins.cpp.hpp.

379 {
380 DigitalMultiWrite16 writer;
381 writer.init(pins);
382 writer.write(pin_data);
383}
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:322
void init(const Pins16 &pins)
Initialize from 16 pin numbers. -1 means "skip this bit position".
Definition pins.cpp.hpp:272
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: