1

Fork of MPU6050 by Stanislav Dudin

Revision:
3:48773a5c8d48
Parent:
2:c68be621f2f1
Child:
4:2d0953219845
--- a/MPU6050.cpp	Sun May 14 11:28:03 2017 +0000
+++ b/MPU6050.cpp	Sun May 21 12:03:43 2017 +0000
@@ -15,7 +15,7 @@
     write_reg(ADDRESS,MPU6050_GYRO_CONFIG,0x08);//gyro +-500deg/s //0x10);//gyro +-1000deg/s
     write_reg(ADDRESS,MPU6050_ACCEL_CONFIG,0x00);//accel +-2G //0x08);//accel +-4G
     write_reg(ADDRESS,MPU6050_CONFIG,0x05);//bandwidth 10Hz, delay 14 mS
-    write_reg(ADDRESS,MPU6050_SMPLRT_DIV,0x19);//sample rate 40Hz (1000/25)
+    write_reg(ADDRESS,MPU6050_SMPLRT_DIV,0x04);//sample rate 200Hz (1000/5)
 }
 
 char MPU6050::getID(void)