FastLED 3.10.8
Loading...
Searching...
No Matches

◆ digitalMultiWrite8()

void fl::digitalMultiWrite8 ( const Pins8 & pins,
fl::span< const u8 > pin_data )

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

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

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

263 {
264 DigitalMultiWrite8 writer;
265 writer.init(pins);
266 writer.write(pin_data);
267}
int pins[]
Definition Spi.ino:11
void write(fl::span< const u8 > pin_data) const FL_NO_EXCEPT
Write pre-transposed byte data to the 8 pins.
Definition pins.cpp.hpp:207
void init(const Pins8 &pins) FL_NO_EXCEPT
Initialize from 8 pin numbers. -1 means "skip this bit position".
Definition pins.cpp.hpp:158
Pre-computed nibble LUT for fast 8-pin digital writes.
Definition pins.h:28

References FL_NO_EXCEPT, fl::DigitalMultiWrite8::init(), pins, and fl::DigitalMultiWrite8::write().

+ Here is the call graph for this function: