libdriver / mpu6050

MPU6050 full function driver library for general MCU and Linux.
https://www.libdriver.com
MIT License
386 stars 156 forks source link

set_sample_rate_divider #26

Open trchang1109 opened 3 months ago

trchang1109 commented 3 months ago

Please ask your question

driver_mpu6050_fifo.c 在設定 sample_rate_divider 的時候是不是應該用 (1000 / MPU6050_FIFO_DEFAULT_RATE) - 1?

Additional context

No response

libdriver commented 3 months ago

Your analysis is correct. Thank you very much. We have corrected this bug and you can pull the code again。

您的分析是正確,非常感謝您,我們已經更正了此Bug,您可以重新拉取程式碼。