Definition at line 40 of file pir.h.
|
| 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) |
|
◆ PirAdvanced()
fl::PirAdvanced::PirAdvanced |
( |
int | pin, |
|
|
uint32_t | latchMs = 5000, |
|
|
uint32_t | risingTime = 1000, |
|
|
uint32_t | fallingTime = 1000 ) |
◆ 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 | ) |
|
◆ transition()
uint8_t fl::PirAdvanced::transition |
( |
uint32_t | now | ) |
|
The documentation for this class was generated from the following files:
- /home/runner/work/FastLED/FastLED/src/sensors/pir.h
- /home/runner/work/FastLED/FastLED/src/sensors/pir.cpp