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

◆ applyNibble()

void fl::DigitalMultiWrite8::applyNibble ( const PinList & set,
const PinList & clr )
staticprivate

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

254 {
255 for (u8 i = 0; i < set.count; ++i) {
256 fl::digitalWrite(set.pins[i], PinValue::High);
257 }
258 for (u8 i = 0; i < clr.count; ++i) {
259 fl::digitalWrite(clr.pins[i], PinValue::Low);
260 }
261}
unsigned char u8
Definition stdint.h:131
@ Low
Logic low (0V / GND)
Definition pin.h:51
@ High
Logic high (3.3V / 5V, platform-dependent)
Definition pin.h:52
void digitalWrite(int pin, PinValue val) FL_NO_EXCEPT
Write digital value to pin.
Definition pin.cpp.hpp:51

References fl::set< Key, Allocator >::count(), fl::digitalWrite(), fl::FL_NO_EXCEPT, fl::High, and fl::Low.

Referenced by write(), and writeByte().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: