![](/media/cache/profiles/27661447_1561692407200368_647610243_n.jpg.50x50_q85.jpg)
Gyroscope with kalman
Fork of Gyroscope by
Diff: main.cpp
- Revision:
- 4:55f97d30c14f
- Parent:
- 2:2dfe6101b283
diff -r 78402ec2d9c0 -r 55f97d30c14f main.cpp --- 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