proxfusion 2.0.0.0
|
ProxFusion click is a multifunctional capacitive and Hall-effect sensor device. This click can detect touch by using two onboard sensor pads, and it can sense a rotation angle of a magnetic field, parallel with the surface of the click board.
We provide a library for the ProxFusion 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 ProxFusion Click driver.
proxfusion_cfg_setup
Config Object Initialization function. proxfusion_init
Initialization function. proxfusion_default_cfg
Click Default Configuration function. proxfusion_get_touch
Touch event proxfusion_set_system_reg
Sets system register proxfusion_set_event_reg
Selecting events This demo-app reads and displays touch events using ProxFusion click.
The demo application is composed of two sections :
Configuring clicks and log objects. Settings the click in the default configuration.
Checks if a new touch event occurred and prints(logs) event message on usbuart.
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.