ireclipse2
2.1.0.0
|
IR Eclipse 2 Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
IR Eclipse 2 Click Example.
This example demonstrates the use of the IR Eclipse 2 Click board by detecting eclipse states.
The demo application is composed of two sections :
Initialization of GPIO module, log UART and enables the transmitter of the photo-microsensor.
When the beam from the transmitter is eclipsed by placing an object in the gap ( like a piece of paper ), the counter is incremented by one when the sensor is triggered.
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 | ) |