buttong  2.0.0.0
Functions
main.c File Reference

Button G Click Example. More...

#include "board.h"
#include "log.h"
#include "buttong.h"

Functions

void application_init (void)
 
void application_task (void)
 
void main (void)
 

Detailed Description

Button G Click Example.

Description

This example showcases how to initialize and use the whole family of Button 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 :

Application Init

This function initializes and configures the logger and click modules.

Application Task

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.

Author
Jelena Milosavljevic

Function Documentation

◆ application_init()

void application_init ( void  )

< Logger config object.

< Click config object.

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )