Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
35
bool PirLowLevel::detect() {
36
return mPin.high();
37
}
38
39
40
Pir::Pir(int pin, u32 latchMs, u32 risingTime,
Callers
nothing calls this directly
Calls
3
high
Method · 0.45
trigger
Method · 0.45
isActive
Method · 0.45
Tested by
no test coverage detected