I2C interface for LG1300L IMU
Dependents: LG1300L_Hello_World LG1300L_Hello_World_LCD
Revision 1:c40e8dead9be, committed 2013-03-05
- Comitter:
- mjenkins11
- Date:
- Tue Mar 05 01:11:30 2013 +0000
- Parent:
- 0:896f1d7a0503
- Child:
- 2:9bac32f6c9a0
- Commit message:
- revision 0.5
Changed in this revision
LG1300L.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/LG1300L.h Tue Mar 05 00:50:17 2013 +0000 +++ b/LG1300L.h Tue Mar 05 01:11:30 2013 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" #ifndef MBED_LG1300L_H #define MBED_LG1300L_H -/*! CruizCore XG1300L IMU interface +/** CruizCore XG1300L IMU interface * Used for communicating with an XG1300L IMU over I2C * @code *#include "mbed.h" @@ -43,34 +43,35 @@ class LG1300L{ public: - /*! Create an IMU readout interface + /** Create an IMU readout interface * * @param i2c The instantiated I2C bus to be used * @param ACC_SETTING the desired initialization range for the + * @note Create an IMU readout interface accelerometers, choices are +-2G, +-4G, or +-8G */ LG1300L(I2C& i2c, int ACC_SETTING); - /*! Returns a float containing the current Accumulated Angle + /** Returns a float containing the current Accumulated Angle * @returns float */ float GetAngle(); - /*! Returns a float containing the current ROT + /** Returns a float containing the current ROT * @returns float */ float GetROT(); - /*! Returns a float containing the current acceleration on + /** Returns a float containing the current acceleration on * the X axis. * @returns float * */ float GetACC_X(); - /*! Returns a float containing the current acceleration on + /** Returns a float containing the current acceleration on *the Y axis. * @returns float */ float GetACC_Y(); - /*! Returns a float containing the current acceleration on + /** Returns a float containing the current acceleration on *the Z axis. * @returns float */