c6dofimu20 2.1.0.0
|
6DOF IMU 20 Click example More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
6DOF IMU 20 Click example
This library contains API for 6DOF IMU 20 Click driver. The library initializes and defines the I2C and SPI bus drivers to write and read data from registers, as well as the default configuration for reading gyroscope and accelerator data, and temperature.
The demo application is composed of two sections :
Initializes the driver after that resets the device and performs default configuration and reads the device id.
This example demonstrates the use of the 6DOF IMU 20 Click board by measuring and displaying acceleration and gyroscope data for X-axis, Y-axis, and Z-axis as well as temperature in degrees Celsius.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |