2024-07-11 08:31 AM - edited 2024-07-11 08:48 AM
As you can see, I was doing a test where I tried setting the gyroscope and accelerometer to power down mode and gave it a 10ms delay, which I called time 1, while I again turned the gyroscope on The accelerometer is set to high-performance mode, and a 70ms delay is given to the data again. This time is called time 2. After exiting, I start reading the data. At this time, the data is read normally after leaving this code, but between time 1 and time After the time of 2 is changed (only the time becomes shorter), the read data will have data errors for a long time. I would like to ask you for some advice. At the same time, time 1 and time 2 are 300us and 70ms respectively in the manual. Want to know why there is such a big discrepancy? Below is my code. Thanks,
2024-07-11 08:36 AM
The unit of delay_us is 2us
2024-07-11 08:36 AM - edited 2024-07-15 06:42 AM
No pictures or code came through. You can edit your post using the down arrow at the top-right of the post.
2024-07-11 08:38 AM
sorry,comment have some error,wish you can understand it ! thank you!!!
2024-07-11 08:41 AM
thank you ! This is my first time posting。
this is my code , The unit of delay_us is 2us,comment have some error ,sorry ! wish you can understand it.
2024-07-11 08:46 AM
2024-07-11 08:46 AM
thank you ,this is my code ,comment has some error ,the unit of delay_us is 2us,Have a nice day