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

Method detect

src/fl/sensors/pir.cpp.hpp:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35bool PirLowLevel::detect() {
36 return mPin.high();
37}
38
39
40Pir::Pir(int pin, u32 latchMs, u32 risingTime,

Callers

nothing calls this directly

Calls 3

highMethod · 0.45
triggerMethod · 0.45
isActiveMethod · 0.45

Tested by

no test coverage detected