irreflect  2.0.0.0
Functions
main.c File Reference

IR reflect Click example. More...

#include "board.h"
#include "log.h"
#include "irreflect.h"

Functions

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

Detailed Description

IR reflect Click example.

Description

Example demonstrates use of IR Reflect Click board.

The demo application is composed of two sections :

Application Init

Initialization driver enable's - Start write log.

Application Task

This is a example which demonstrates the use of IR Reflect Click board. On this type of photointerrupter the infrared emitter and receiver are facing the same direction, the infrared beam from the emitter gets bounced back to the receiver when an object is placed within the detecting range of the sensor ( optimal range is 3mm ). These sensors are used to detect an object�s presence or motion, such as a piece of paper passing through a printer and counting when sesnor is triggered. Results are being sent to the Usart Terminal where you can track their changes. Data logs on usb uart when the sensor is triggered.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )