accel 2.0.0.0
|
Accel Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Accel Click example.
This example demonstrates the use of Accel click board by reading and displaying the accelerometer data (X, Y, and Z axis).
The demo application is composed of two sections :
Initializes SPI/I2C driver and settings data read format, power mode, FIFO control and baud rate ( 100Hz default ).
Reads X, Y and Z axis and logs on usbuart every 100 ms.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |