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:
- 12:bc6638e00812
- Parent:
- 11:9b414412b09e
- Child:
- 13:23c9db5753c8
diff -r 9b414412b09e -r bc6638e00812 MPU6050.cpp
--- a/MPU6050.cpp	Fri Feb 20 00:13:01 2015 +0000
+++ b/MPU6050.cpp	Tue Feb 09 23:53:03 2021 +0000
@@ -268,7 +268,7 @@
             *(accOffset+j) += accAngle[j]/sampleSize;    //average measurements
             *(gyroOffset+j) += gyro[j]/sampleSize;
         }
-        wait (0.01);    //wait between each reading for accuracy 
+        wait_us (10000);    //wait between each reading for accuracy 
     } 
 }