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

Method strobe

src/platforms/generic_pin.h:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 else { digitalWrite(mPin, PinValue::Low); }
81 }
82 FL_DISABLE_WARNING_POP
83
84 /// Toggle the pin twice to create a short pulse
85 inline void strobe() __attribute__ ((always_inline)) { toggle(); toggle(); }
86 /// Toggle the pin.
87 /// If the pin was high, set it low. If was low, set it high.
88 inline void toggle() FL_NOEXCEPT __attribute__ ((always_inline)) {

Callers

nothing calls this directly

Calls 1

toggleFunction · 0.50

Tested by

no test coverage detected