earthquake
2.0.0.0
|
Earthquake Click example. More...
Functions | |
void | display_status (uint8_t status_data) |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
Variables | |
uint16_t | read_data |
uint8_t | cnt |
Earthquake Click example.
Intializes I2C module, LOG and GPIO structure, sets INT and PWM pins as input and sets CS pin as output.
The demo application is composed of two sections :
Intializes of I2C driver and makes initial log.
This is an example that shows most of the functions that Earthquake click has. Results are being sent to the Usart Terminal where you can track their changes.
void application_init | ( | void | ) |
void application_task | ( | void | ) |
void display_status | ( | uint8_t | status_data | ) |
void main | ( | void | ) |
uint8_t cnt |
uint16_t read_data |