c6dofimu 2.0.0.0
|
6DofImu Click example More...
Functions | |
void | application_init () |
void | application_task () |
int | main (void) |
6DofImu Click example
This example showcases how to initalize and use the 6DOF IMU click. The click contains a 6-axis inertial measurement unit ( accelerometer + gyroscope ). After configuring the click module for proper use, axis and temperature data will be measured every second.
The demo application is composed of two sections :
This function initializes and configures the click and logger modules. In order for the device to work well, proper data needs to be written to the measurement control registers as is done in the default_cfg(...) function.
This function reads and displays temperature and accelerometer/gyroscope axis data from predefined registers. There is a 1 second delay between every read from the data output registers.
note: <WARNING> If you write data to any of the "reserved" register addresses, you can permanently damage the chip. If you are feeling adventurous, read the LSM6DS33 chip datasheet.
void application_init | ( | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | ) |
int main | ( | void | ) |