ldctouch
2.0.0.0
|
PRVIH_PAR_RECENICA_SA_PRODUCT_PAGE_DA_ISPRATE_CELINU
[click Product page](CLICK_PRODUCT_PAGE_LINK)
We provide a library for the LDC Touch Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for LDC Touch Click driver.
ldctouch_cfg_setup
Config Object Initialization function. ldctouch_init
Initialization function. ldctouch_default_cfg
Click Default Configuration function. ldctouch_get_int_pin
This function returns the INT pin logic state. ldctouch_get_data
This function reads status, out_state, and all buttons raw data. ldctouch_set_operation_mode
This function sets the operation mode. This example demonstrates the use of LDC Touch click board by configuring
the buttons to trigger on finger press, and reading the buttons state in the loop.
The demo application is composed of two sections :
Initializes the driver and configures the buttons to be active on finger press.
Waits for the button active event interrupt and then reads and displays the buttons
state and their raw data on the USB UART every 200ms approximately.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.