NA

Fork of L3G4200D by Michael Shimniok

Files at this revision

API Documentation at this revision

Comitter:
tedparrott6
Date:
Thu Nov 16 15:01:03 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
--- a/L3G4200D.cpp	Tue Jan 24 16:58:52 2012 +0000
+++ b/L3G4200D.cpp	Thu Nov 16 15:01:03 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.
--- a/L3G4200D.h	Tue Jan 24 16:58:52 2012 +0000
+++ b/L3G4200D.h	Thu Nov 16 15:01:03 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];