NA
Fork of L3G4200D by
Revision 4:44176c2a6121, committed 2017-11-16
- Comitter:
- tedparrott6
- Date:
- Thu Nov 16 14:59:30 2017 +0000
- Parent:
- 3:14914cd8fdf3
- Commit message:
- NA
Changed in this revision
L3G4200D.cpp | Show annotated file Show diff for this revision Revisions of this file |
L3G4200D.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 14914cd8fdf3 -r 44176c2a6121 L3G4200D.cpp --- a/L3G4200D.cpp Tue Jan 24 16:58:52 2012 +0000 +++ b/L3G4200D.cpp Thu Nov 16 14:59:30 2017 +0000 @@ -74,7 +74,7 @@ } // Reads the 3 gyro channels and stores them in vector g -void L3G4200D::read(int g[3]) +void L3G4200D::read(float g[3]) { // assert the MSB of the address to get the gyro // to do slave-transmit subaddress updating.
diff -r 14914cd8fdf3 -r 44176c2a6121 L3G4200D.h --- a/L3G4200D.h Tue Jan 24 16:58:52 2012 +0000 +++ b/L3G4200D.h Thu Nov 16 14:59:30 2017 +0000 @@ -92,7 +92,7 @@ * @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(float g[3]); private: byte data[6];