modif interrupt

Files at this revision

API Documentation at this revision

Comitter:
jlsalvat
Date:
Tue Feb 12 13:46:40 2019 +0000
Parent:
2:5c63e20c50f3
Commit message:
test capteur accelero gyro avec algo lissage

Changed in this revision

MPU6050.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 5c63e20c50f3 -r d149ad3e1139 MPU6050.cpp
--- a/MPU6050.cpp	Mon Sep 10 21:26:25 2012 +0000
+++ b/MPU6050.cpp	Tue Feb 12 13:46:40 2019 +0000
@@ -9,6 +9,8 @@
     //Initializations:
     currentGyroRange = 0;
     currentAcceleroRange=0;
+    //add by salvat
+     i2c.frequency(400000);  // use fast (400 kHz) I2C   
 }
 
 //--------------------------------------------------