motion3  2.0.0.0
Functions | Variables
main.c File Reference

Motion 3 Click Example. More...

#include "board.h"
#include "log.h"
#include "motion3.h"

Functions

void application_init (void)
 
void application_task (void)
 
void main (void)
 

Variables

motion3_detect_state_t motion_state
 
motion3_detect_state_t motion_old_state
 

Detailed Description

Motion 3 Click Example.

Description

This example demonstrates the use of Motion 3 click boards.

The demo application is composed of two sections :

Application Init

Initializes the driver and enables the motion sensor.

Application Task

It checks if the sensor has detected movement and therefore displays the desired message on the USB UART.

Author
Jelena Milosavljevic

Function Documentation

◆ application_init()

void application_init ( void  )

< Logger config object.

< Click config object.

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )

Variable Documentation

◆ motion_old_state

motion3_detect_state_t motion_old_state

◆ motion_state

motion3_detect_state_t motion_state