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.
Diff: MPU6050.cpp
- Revision:
- 4:d1be41e932f2
- Parent:
- 1:a3366f09e95c
--- a/MPU6050.cpp Thu Nov 08 12:53:16 2018 +0000
+++ b/MPU6050.cpp Mon Nov 19 02:10:03 2018 +0000
@@ -11,10 +11,11 @@
currentAcceleroRange=0;
}
+
//--------------------------------------------------
//-------------------General------------------------
//--------------------------------------------------
-
+/*
void MPU6050::write(char address, char data) {
char temp[2];
temp[0]=address;
@@ -69,7 +70,7 @@
temp &= ~(1<<MPU6050_BYPASS_BIT);
this->write(MPU6050_INT_PIN_CFG, temp);
}
-
+*/
//--------------------------------------------------
//----------------Accelerometer---------------------
//--------------------------------------------------
@@ -147,7 +148,7 @@
data[2]*=2;
#endif
}
-
+/*
//--------------------------------------------------
//------------------Gyroscope-----------------------
//--------------------------------------------------
@@ -235,3 +236,4 @@
return retval;
}
+*/