This is a library of MPU-9250 9 axis sensor.

Hi,I'm Wataru Nakata. I am a student of Nagaoka National College of Technology ,JAPAN . I am a member of robotics club. So I'm using mbeds for robot controlling.

Revision:
0:f29582d9e1fd
Child:
2:2bc5dd0ab0f0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MPU-9250.h	Thu Feb 26 17:16:51 2015 +0000
@@ -0,0 +1,18 @@
+#ifndef LIS3DH
+#define LIS3DH
+#define addr 0xD0
+#define raddr 0xD1
+#define maddr 0x18
+#define mraddr 0x19
+#include "mbed.h"
+#define pi 3.1415926535
+class degree {
+public:
+    degree (PinName sda , PinName scl );
+    int start(void);
+    void read_data(int a,double *x,double *y,double *z);
+private:
+    I2C i2c;
+    char bdf[2];
+};
+#endif
\ No newline at end of file