analogkey 2.0.0.0
|
AnalogKey Click example. More...
Macros | |
#define | ANALOGKEY_N_SAMPLES 50 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
AnalogKey Click example.
This application logs what button is pressed.
The demo application is composed of two sections :
Initializes driver.
Reads ADC value and detects which button is pressed based on that value.
#define ANALOGKEY_N_SAMPLES 50 |
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |