Slightly modified version (to work with processing GUI)

Dependencies:   ITG3200 mbed

Fork of 6DoF_IMU_readvalue by Ryo Nakabayashi

Revision:
4:c7d5863b2576
Parent:
3:04df9b19199b
Child:
5:e4a11d519322
diff -r 04df9b19199b -r c7d5863b2576 main.cpp
--- a/main.cpp	Tue Oct 22 00:13:07 2013 +0000
+++ b/main.cpp	Thu Oct 24 20:31:54 2013 +0000
@@ -32,7 +32,7 @@
     wait(.001);
     
     //3.2kHz data rate.
-    if(accel.setDataRate(ADXL345_3200HZ)){
+    if(accel.setDataRate(ADXL345_1600HZ)){
        rn42.printf("didn't set data rate\n");
        return 0;    }
     wait(.001);