touchpad4
2.0.0.0
|
Touchpad 4 Click is a compact add-on board that easily integrates projected capacitive touch into user's applications. This board features the IQS7211A, a tiny capacitive touch controller from Azoteq.
We provide a library for the Touchpad4 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 Touchpad4 Click driver.
touchpad4_cfg_setup
Config Object Initialization function. touchpad4_init
Initialization function. touchpad4_default_cfg
Click Default Configuration function. touchpad4_reset
Reset function. touchpad4_get_touch
Read touch informations. touchpad_get_channels
Read channel information. This example showcases ability of the device to read touch coordinates,
active/inactive channels, and gesture informations.
The demo application is composed of two sections :
Initialize host communication modules(UART and I2C) and additional pins,
for device control. Then resets device and set default configuration where Channels and pins are mapped and configured, and set communication with device only on touch/event. In the end one of 3 examples is set;
There are 3 examples that shocaes ability of the device:
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.