microwave  2.0.0.0
Functions
main.c File Reference

Microwave Click example. More...

#include "board.h"
#include "log.h"
#include "microwave.h"

Functions

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

Detailed Description

Microwave Click example.

Description

This is an example which demonstrates the use of Microwave Click board. Microwave click reads ADC results, takes exact amount of samples, calculation of difference between taken samples and reference ADC value, and reports movement if difference is greater/lower than selected threshold value.

The demo application is composed of two sections :

Application Init

Initializes the ADC and uart console where the results will be displayed. Also calculates the reference ADC value for Microwave Click board.

Application Task

Reads the AD converted results and compares this results with the previously calculated reference value, taking into account the choosen threshold value which controls the sensor sensitivity. All data is being displayed on the USB UART where you can track their changes.

Author
Nemanja Medakovic

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )