FastLED 3.9.7
Loading...
Searching...
No Matches
fl::PirAdvanced Class Reference

Detailed Description

Definition at line 40 of file pir.h.

Public Member Functions

 PirAdvanced (int pin, uint32_t latchMs=5000, uint32_t risingTime=1000, uint32_t fallingTime=1000)
 
bool detect (uint32_t now)
 
uint8_t transition (uint32_t now)
 
void activate (uint32_t now)
 

Constructor & Destructor Documentation

◆ PirAdvanced()

fl::PirAdvanced::PirAdvanced ( int pin,
uint32_t latchMs = 5000,
uint32_t risingTime = 1000,
uint32_t fallingTime = 1000 )

Definition at line 31 of file pir.cpp.

Member Function Documentation

◆ activate()

void fl::PirAdvanced::activate ( uint32_t now)
inline

Definition at line 50 of file pir.h.

◆ detect()

bool fl::PirAdvanced::detect ( uint32_t now)

Definition at line 46 of file pir.cpp.

◆ transition()

uint8_t fl::PirAdvanced::transition ( uint32_t now)

Definition at line 57 of file pir.cpp.


The documentation for this class was generated from the following files: