42 PirAdvanced(
int pin, uint32_t latchMs = 5000, uint32_t risingTime = 1000, uint32_t fallingTime = 1000);
43 bool detect(uint32_t now);
47 uint8_t transition(uint32_t now);
50 void activate(uint32_t now) { mLastTrigger = now; }
56 uint32_t mFallingTime;
57 uint32_t mLastTrigger;
59 uint8_t mLastTransition = 0;