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

◆ detect()

bool fl::Pir::detect ( )

Definition at line 31 of file pir.cpp.

31 {
32 return mPin.high() || mButton.clicked();
33}
UIButton mButton
Definition pir.h:26
DigitalPin mPin
Definition pir.h:27

References mButton, and mPin.

Referenced by operator bool().

+ Here is the caller graph for this function: