pir2 2.1.0.0
|
PIR 2 Click Example. More...
Macros | |
#define | PIR2_VOLTAGE_TRESHOLD 2.5f |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
PIR 2 Click Example.
This example demonstrates the use of PIR 2 Click boards.
The demo application is composed of two sections :
Initializes the driver and selects the driver interface.
It checks if the sensor has detected movement and displays message on the USB UART.
#define PIR2_VOLTAGE_TRESHOLD 2.5f |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |