Angle: add support for MT6816, MT6826S sensors #6735
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.
For now, this is just a proposal - till there are other real users.
MT6816 - simple 14-bit angle sensor, can be read and that's it.
MT6826S - Has calibration capabilities - implemented, hysteresis, and 15-bit output
MT6835 - (21 bit) should work with code from MT6826S, we anyway will ignore additional bits.
For now, I mostly play around with MT6826S.
Thanks.
BTW, it would be nice to have a generic query command for the angle sensor, like
ACCELEROMETER_QUERY
.