capsense 2.0.0.0
|
CapSense Click example. More...
Functions | |
void | bits_to_str (uint8_t num, uint8_t *s) |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
CapSense Click example.
This demo example shows level of the slider on the terminal.
The demo application is composed of two sections :
Initializes device.
Waits user to press top and bottom button to turn click's LEDs ON or OFF. User can swipe slider to send log to the UART where one can track their changes.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
void bits_to_str | ( | uint8_t | num, |
uint8_t * | s ) |
int main | ( | void | ) |