Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ConfigFile SDFileSystem mbed
Fork of LAURUS_program by
Diff: MPU6050/MPU6050.h
- 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
