Add MPU6886 driver (tested with M5Stack FIRE)#56
Merged
ThomasFarstrike merged 1 commit intoMicroPythonOS:mainfrom Feb 21, 2026
Merged
Add MPU6886 driver (tested with M5Stack FIRE)#56ThomasFarstrike merged 1 commit intoMicroPythonOS:mainfrom
ThomasFarstrike merged 1 commit intoMicroPythonOS:mainfrom
Conversation
d7eeb49 to
1b60a26
Compare
jedie
commented
Feb 18, 2026
| SensorManager.init( | ||
| i2c_bus=i2c_bus, | ||
| address=MPU6886_I2C_ADDR, | ||
| mounted_position=SensorManager.FACING_EARTH, |
Contributor
Author
There was a problem hiding this comment.
No idea if "FACING_EARTH" is correct
jedie
commented
Feb 18, 2026
| self.gyro_offset = list(gyro_offsets) | ||
|
|
||
|
|
||
| class _MPU6886Driver(_IMUDriver): |
Contributor
Author
There was a problem hiding this comment.
Most parts of this is copied from _QMI8658Driver
Don't know if everything is correct. If so: It's possible to merge many code parts by create a base class or mixin.
Contributor
|
Looks good to me, I will test before making the next release :-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Will fix #44