irreflect 2.0.0.0
|
IR reflect Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
IR reflect Click example.
Example demonstrates the use of IR Reflect Click board.
The demo application is composed of two sections :
Initialization driver enables - Start write log.
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 sensor 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.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |