MCPcopy Create free account
hub / github.com/FastLED/FastLED / applyNibble

Method applyNibble

src/fl/system/pins.cpp.hpp:256–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256void DigitalMultiWrite8::applyNibble(const PinList &set, const PinList &clr) {
257 for (u8 i = 0; i < set.count; ++i) {
258 fl::digitalWrite(set.pins[i], PinValue::High);
259 }
260 for (u8 i = 0; i < clr.count; ++i) {
261 fl::digitalWrite(clr.pins[i], PinValue::Low);
262 }
263}
264
265void digitalMultiWrite8(const Pins8& pins, fl::span<const u8> pin_data) {
266 DigitalMultiWrite8 writer;

Callers

nothing calls this directly

Calls 1

digitalWriteFunction · 0.70

Tested by

no test coverage detected