c9dof2 2.0.0.0
|
9dof2 Click example More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint8_t | id_val |
float | x_accel |
float | y_accel |
float | z_accel |
float | x_gyro |
float | y_gyro |
float | z_gyro |
9dof2 Click example
This example demonstrates the use of 9DOF 2 Click board.
The demo application is composed of two sections :
Initalizes SPI and device drivers, performs safety check, applies default configuration and writes an initial log.
Reads the angular and acceleration rates and displays the values of X, Y, and Z axis on the USB UART each second.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
uint8_t id_val |
float x_accel |
float x_gyro |
float y_accel |
float y_gyro |
float z_accel |
float z_gyro |