Josef Humer / Mbed 2 deprecated TTSMCU6050

Dependencies:   mbed rijo-mpu6050 MPU6050

Revision:
2:d4aaf6997c1a
Parent:
1:a75f33f74f30
--- a/rijompu6050.cpp	Sat Oct 10 01:28:40 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-#include "mbed.h"
-#include "MPU6050.h"
-Serial thinkdesk(USBTX, USBRX);
-int16_t ax, ay, az;
-int16_t gx, gy, gz;
-MPU6050 mpu(p9,p10);
-
-
-int main()
-{
-
-bool ok ;
-ok = mpu.testConnection(); 
-if(ok)
-{
-thinkdesk.printf("Test is ok!\n");
-mpu.setSleepMode(0); //THIS WILL GET THE SENSOR OUT OF SLEEP MODE.
-}
-else
-thinkdesk.printf("Test failed!\n");
-float data[3];
-while(1)
-{
-mpu.getAccelero( data );
-wait(1);
-thinkdesk.printf("%f;%f;%f;\n",data[0],data[1],data[2]);
-}
-}
-
-
-
-