Can measure acceleration, angular Velocity, magnetic and Angle.

Dependents:   NHK2017_octopus JY901 JY901 00_yotsuba ... more

Files at this revision

API Documentation at this revision

Comitter:
number_key
Date:
Wed Aug 23 06:14:28 2017 +0000
Parent:
1:60d4e2eb6952
Commit message:
add document

Changed in this revision

jy901.h Show annotated file Show diff for this revision Revisions of this file
diff -r 60d4e2eb6952 -r a93909601341 jy901.h
--- a/jy901.h	Wed Aug 23 06:00:02 2017 +0000
+++ b/jy901.h	Wed Aug 23 06:14:28 2017 +0000
@@ -4,6 +4,11 @@
 #include "mbed.h"
 #include "jy901_def.h"
 
+/** jy901 class.
+ *  Can measure acceleration, angular Velocity, magnetic and Angle.
+ *
+ */
+
 
 class JY901 : public I2C
 {
@@ -39,53 +44,53 @@
     /** return XaxisAcceleration
      */
     float getXaxisAcceleration();
-    
+
     /** return YaxisAcceleration
      */
     float getYaxisAcceleration();
-    
+
     /** return ZaxisAcceleration
      */
     float getZaxisAcceleration();
-    
+
     /** return XaxisAngularVelocity
      */
     float getXaxisAngularVelocity();
-    
+
     /** return YaxisAngularVelocity
      */
     float getYaxisAngularVelocity();
-    
+
     /** return ZaxisAngularVelocity
      */
     float getZaxisAngularVelocity();
-    
+
     /** return XaxisMagnetic
      */
     float getXaxisMagnetic();
-    
+
     /** return YaxisMagnetic
      */
     float getYaxisMagnetic();
-    
+
     /** return ZaxisMagnetic
      */
     float getZaxisMagnetic();
-    
+
     /** return XaxisAngle
      */
     float getXaxisAngle();
-    
+
     /** return YaxisAngle
      */
     float getYaxisAngle();
-    
+
     /** return ZaxisAngle
      */
     float getZaxisAngle();
 
-    private:
+private:
     char *getdata(char registar);
-    };
+};
 
-    #endif
\ No newline at end of file
+#endif
\ No newline at end of file