capextend3
2.0.0.0
|
Cap Extend 3 click features four capacitive sensor pads integrated on the PCB, that can sense touch through a variety of different materials.
We provide a library for the CapExtend3 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 form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for CapExtend3 Click driver.
void capextend3_cfg_setup ( capextend3_cfg_t *cfg );
CAPEXTEND3_RETVAL capextend3_init ( capextend3_t *ctx, capextend3_cfg_t *cfg );
uint8_t capextend3_Touch_0 ( capextend3_t *ctx );
uint8_t capextend3_Touch_1 ( capextend3_t *ctx );
uint8_t capextend3_Touch_2 ( capextend3_t *ctx );
This application features four capacitive sensor pads, that can sense touch through a variety of different materials.
The demo application is composed of two sections :
Initialize GPIO Driver
Depending on which button is touched the usb uart will show number of that button.
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
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. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.