Needed for FXAS21000 NXP gyroscope
Fork of FXAS21000 by
Diff: FXAS21000.h
- Revision:
- 3:a8f83b52f4df
- Parent:
- 2:cd21ef326977
- Child:
- 4:79bf9c15d4d7
--- a/FXAS21000.h Mon Jun 02 17:06:32 2014 +0000 +++ b/FXAS21000.h Mon Jun 02 17:36:38 2014 +0000 @@ -46,28 +46,22 @@ * * @param sda SDA pin * @param sdl SCL pin - * */ FXAS21000(PinName sda, PinName scl); - /** - * Get the Gyro values - * Result is floating point degrees / second + * Get the Gyro values as floating point degrees / second * * @param floating point array where the results will be placed */ void ReadXYZ(float * a); - /** - * Get the Gyro values - * Result is signed 16 bit value + * Get the Gyro values as signed 16 bit value * * @param int16_t point array where the results will be placed */ void ReadXYZraw(int16_t * t); - /** * Get the value of the WHO_AM_I register @@ -77,7 +71,6 @@ char getWhoAmI(void); private: - I2C _i2c; /** @@ -86,8 +79,6 @@ void begin( void); void RegRead( char reg, char * d, int len); - - }; #endif