opentvc
Functions
FXOS8700CQ Library

Functions

void setupFXOS8700CQ (void)
 
void getAccelData (void)
 
void getMagData (void)
 
void getAccelMagTemp (void)
 

Detailed Description

This library contains all the neccessary code for using the triple-axis linear accelerometer and magnetometer from the FXOS8700CQ.

Function Documentation

void getAccelData ( void  )

This function retrieves the accelerometer's G force data.

void getAccelMagTemp ( void  )

This function retrieves the accelerometer and magnetometer's temperature value in celsius.

void getMagData ( void  )

This function retrieves the magnetometer's magnetic measurement data.

void setupFXOS8700CQ ( void  )

This function enables the accelerometer and magnetometer.