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

◆ isSelected()

virtual bool Pin::isSelected ( )
inlineoverridevirtual

Checks if the pin is currently HIGH

Implements Selectable.

Definition at line 119 of file fastpin.h.

119{ return (*mPort & mPinMask) == mPinMask; }
volatile RwReg * mPort
Output register for the pin.
Definition fastpin.h:48
RwReg mPinMask
Bitmask for the pin within its register.
Definition fastpin.h:50

References mPinMask, and mPort.