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

◆ applyNibble()

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

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

376 {
377 for (u8 i = 0; i < set.count; ++i) {
378 fl::digitalWrite(set.pins[i], PinValue::High);
379 }
380 for (u8 i = 0; i < clr.count; ++i) {
381 fl::digitalWrite(clr.pins[i], PinValue::Low);
382 }
383}
unsigned char u8
Definition stdint.h:131
@ Low
Logic low (0V / GND)
Definition pin.h:50
@ High
Logic high (3.3V / 5V, platform-dependent)
Definition pin.h:51
void digitalWrite(int pin, PinValue val)
Write digital value to pin.
Definition pin.cpp.hpp:51

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

Referenced by write().

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