43 PirAdvanced(
int pin, uint32_t latchMs = 5000, uint32_t risingTime = 1000, uint32_t fallingTime = 1000);
44 bool detect(uint32_t now);
48 uint8_t transition(uint32_t now);
51 void activate(uint32_t now) { mLastTrigger = now; }
57 uint32_t mFallingTime;
58 uint32_t mLastTrigger;
60 uint8_t mLastTransition = 0;