buttony 2.0.0.0
|
Button Y Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Button Y Click Example.
This library contains API for Button Y Click driver. One library is used for every single one of them. They are simple touch detectors that send a pressed/released signal and receive a PWM output which controls the backlight on the button.
The demo application is composed of two sections :
This function initializes and configures the logger and click modules.
This example first increases the backlight on the button and then decreases the intensity of backlight. When the button is pressed, reports the event in the console using UART communication.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |