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 89 of file fastpin.h.

89{ *mInPort = mPinMask; }
volatile RoReg * mInPort
Input register for the pin.
Definition fastpin.h:51
RwReg mPinMask
Bitmask for the pin within its register.
Definition fastpin.h:52

References mInPort, and mPinMask.

Referenced by strobe().

+ Here is the caller graph for this function: