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

◆ toggle()

void Pin::toggle ( )
inline

Toggle the pin.

If the pin was high, set it low. If was low, set it high.

Definition at line 87 of file fastpin.h.

87{ *mInPort = mPinMask; }
volatile RoReg * mInPort
Input register for the pin.
Definition fastpin.h:49
RwReg mPinMask
Bitmask for the pin within its register.
Definition fastpin.h:50

References mInPort, and mPinMask.

Referenced by strobe().

+ Here is the caller graph for this function: