Mems sensor

Revision:
0:da46ed0f1363
Child:
1:45447b012eea
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LSM9DS1.h	Thu Sep 22 14:13:04 2016 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+
+class LSM9DS1
+{
+    public:
+        LSM9DS1(I2C i2c);
+        void startMag(void);
+        void readMag(float *results);
+        void startAcc(void);
+        void readAcc(float *results);
+        void startGyro(void);
+        void readGyro(float *results);
+    private:
+        I2C _i2c;    
+};
\ No newline at end of file