m5stack / M5StickC-Plus

M5StickCPlus Arduino Library
MIT License
359 stars 90 forks source link

Add support for MPU6886 1kB FIFO buffer to improve IMU sampling precision #46

Closed chrisr-sensiml closed 1 year ago

chrisr-sensiml commented 1 year ago

Existing library allows for polled sample reads of the MPU6886 IMU sensor. Additions in this pull request add support for the MPU6886 FIFO mode that allow more precise sampling by setting a sample rate for FIFO buffering of sample data with burst reads from the host ESP32 application.

imliubo commented 1 year ago

Hi @chrisr-sensiml , Thanks for the contribution, but it looks like the code style check is not passing.We have a ".clang-format" file in the this repo root path,could you check this style file and commit again?

imliubo commented 1 year ago

Thanks for this improve! Merged!