FastLED 3.9.15
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 265 of file pins.cpp.hpp.

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

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

+ Here is the call graph for this function: