opentvc
All Functions Modules Pages
Functions
FXAS21002 Library

Functions

void setupFXAS21002 (void)
 
void getGyroData (void)
 
void getGyroTemp (void)
 

Detailed Description

This library contains all the neccessary code for using the triple-axis gyroscope from the FXAS21002.

Function Documentation

void getGyroData ( void  )

This function retrieves the gyroscope's angular rate data.

void getGyroTemp ( void  )

This function retrieves the gyroscope's temperature value in celsius.

void setupFXAS21002 ( void  )

This function enables the gyroscope.