buttonr
2.0.0.0
|
ButtonR Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
ButtonR Click example.
This example showcases how to initialize and use the whole family of Button R clicks. One library is used for every single one of them. They are simple touch detectors which 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 function first turns the backlight on the button ON/OFF and then checks if the button has been pressed and reports the event in the console using UART communication.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
void application_task | ( | void | ) |
void main | ( | void | ) |