cancel
Showing results for 
Search instead for 
Did you mean: 

L3G4200D unacceptable big values WHY?

Zek_De
Senior
Posted on October 04, 2016 at 13:36

The original post was too long to process during our migration. Please click on the attachment to read the original post.
1 REPLY 1
louda.marian
Senior
Posted on November 18, 2016 at 19:16

Hello,

you have set output data rate to 100 Hz which means 10 ms between samples, but delay in main loop is 100 ms and there are some delays in other functions(Gyroscope_Read: 10 ms, Gyroscope_Values_Raw: 15 ms). You have to decrease all delays in whole loop below 10 ms, don't forget that printing of values will take some time as well.

Regarding high output values, you print float values like integers in ''printf'' function.

Best Regards,

Marian