ldc
2.0.0.0
|
LDC Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
LDC Click example.
This example showcases abillity of the device to detect metal objects. It configures device for reading data from channel 0, checks if ID's are OK and reads data when interrupt is asserted and logs result.
The demo application is composed of two sections :
Initialization of communication modules (I2C, UART) and additional pins. Then configures device for reading data from channel 0, and checks if device ID's are correctly read.
Chekcs if interrupt pin is asserted, if so reads data from channel 0. If no error is detected logs ADC data read from device. It will log error data if some are detected.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
void application_task | ( | void | ) |
void main | ( | void | ) |