c6dofimu8  2.0.0.0
Functions
main.c File Reference

c6DofImu8 Click example More...

#include "board.h"
#include "log.h"
#include "c6dofimu8.h"

Functions

void log_axis (t_c6dofimu8_axis *log_data)
 
void application_init (void)
 
void application_task (void)
 
void main (void)
 

Detailed Description

c6DofImu8 Click example

Description

This app gets three-axis gyroscope value, three-axis accelerometer value and temperature.

The demo application is composed of two sections :

Application Init

Initializes device and performs a device software reset and configuration.

Application Task

Waits until any new data is entered to the data registers and then reads the accelerometer, gyroscope and temperature data which will be converted and calculated to the properly units every 300ms.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ log_axis()

void log_axis ( t_c6dofimu8_axis log_data)

◆ main()

void main ( void  )