FastLED 3.9.12
Loading...
Searching...
No Matches
fl::Pir Class Reference

Detailed Description

Definition at line 18 of file pir.h.

Public Member Functions

 Pir (int pin, const char *button_name=nullptr)
 
bool detect ()
 
 operator bool ()
 

Constructor & Destructor Documentation

◆ Pir()

fl::Pir::Pir ( int pin,
const char * button_name = nullptr )

Definition at line 29 of file pir.cpp.

Member Function Documentation

◆ detect()

bool fl::Pir::detect ( )

Definition at line 33 of file pir.cpp.

◆ operator bool()

fl::Pir::operator bool ( )
inline

Definition at line 22 of file pir.h.


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