albatross / Mbed 2 deprecated LAURUS_program_copy

Dependencies:   ConfigFile SDFileSystem mbed

Fork of LAURUS_program by hiroya taura

Revision:
38:ada39f1c6c76
Parent:
1:6cd6d2760856
--- a/MPU6050/MPU6050.h	Wed Dec 16 13:02:55 2015 +0000
+++ b/MPU6050/MPU6050.h	Sat Dec 19 13:50:53 2015 +0000
@@ -1,7 +1,6 @@
 #pragma once
 
 const static int mpu_addr = 0xd0;
-
 typedef union {
     uint8_t reg[14]; 
     struct {
@@ -39,9 +38,10 @@
     
     int init();
     int read();
-    
     MPU_DATA data;
-    
+   void checker_set(int x){check = x;}
+   int checker_get(){return check;}
 private:
     I2C* i2c;
+      int check;
 };
\ No newline at end of file