CapSlider2 Click example.
Description
This application could be used for controlling various devices.
The demo application is composed of two sections :
Application Init
Initializes I2C interface, performs the device reset and configurations and sets the desired threshold value which determines sensor sensitivity.
Application Task
Checks for data ready and then read capacitance from all channels. There are two sliders on the clik board (X and Y). X slider selects which LEDs are being activated, while Y slider increases/decreases the LEDs intensity.
NOTE
In some cases, the user will need to wait several seconds after the click initialization for the sensor to be stabilized.
- Author
- MikroE Team