Gyroscope with kalman

Dependencies:   LSM6DS3 mbed

Fork of Gyroscope by João Pereira

Revision:
4:55f97d30c14f
Parent:
2:2dfe6101b283
--- a/main.cpp	Wed Oct 03 01:06:06 2018 +0000
+++ b/main.cpp	Thu Oct 11 01:54:08 2018 +0000
@@ -7,7 +7,7 @@
 #define RAD_TO_DEG 180/3.14
 Kalman kalmanX; // Create the Kalman instances
 Kalman kalmanY;
-Serial pc(PA_9, PA_10); // tx, rx
+Serial pc(PA_2, PA_3); // tx, rx
 LSM6DS3 LSM6DS3(PB_7, PB_6);
 //FXOS8700CQ fxos(PTE25,PTE24);
 //Data fxos_acc;
@@ -133,5 +133,5 @@
     pc.printf("\n");
     pc.printf("%.2f",pitch);
     pc.printf("\n");
-    wait_ms(500);
+    wait_ms(100);
 }
\ No newline at end of file