motion2 2.0.0.0
|
Motion 2 Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
motion2_detect_state_t | motion_state |
motion2_detect_state_t | motion_old_state |
Motion 2 Click Example.
This example demonstrates the use of Motion 2 click boards.
The demo application is composed of two sections :
Initializes the driver and enables the motion sensor.
It checks if the sensor has detected movement and therefore displays the desired message on the USB UART.
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 | ) |
motion2_detect_state_t motion_old_state |
motion2_detect_state_t motion_state |