Minor modifications to adapt syntax to FreeIMU
Fork of L3G4200D by
Diff: L3G4200D.h
- Revision:
- 4:d9e8ea9b4e20
- Parent:
- 3:14914cd8fdf3
diff -r 14914cd8fdf3 -r d9e8ea9b4e20 L3G4200D.h --- a/L3G4200D.h Tue Jan 24 16:58:52 2012 +0000 +++ b/L3G4200D.h Mon Jun 24 19:44:01 2013 +0000 @@ -86,13 +86,15 @@ * @param sda is the pin for the I2C SDA line * @param scl is the pin for the I2C SCL line */ - L3G4200D(PinName sda, PinName scl); + //L3G4200D(PinName sda, PinName scl); + L3G4200D(I2C i2c_); /** Read gyro values * @param g Array containing x, y, and z gyro values * @return g Array containing x, y, and z gyro values */ void read(int g[3]); + void read(int *x,int *y, int *z); private: byte data[6];