Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

micropython/drivers: Add new sensor drivers. #593

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
dpgeorge merged 5 commits into micropython:master from iabdalkader:new_sensors
Feb 18, 2023

Conversation

@iabdalkader
Copy link
Contributor

@iabdalkader iabdalkader commented Dec 30, 2022
edited
Loading

  • Add HS3003 driver.
  • Add BMM150 driver.
  • Add BMI270 driver.
  • Refactor LSM9 driver.
  • Refactor LSM6 driver.

Copy link
Contributor Author

@dpgeorge Any feedback on this 🙏🏼 ?

Copy link
Member

@jimmo jimmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @iabdalkader !

@iabdalkader iabdalkader force-pushed the new_sensors branch 3 times, most recently from 49d20f0 to 3559ce7 Compare February 13, 2023 13:45
Copy link
Contributor Author

@jimmo I fixed all of the review comments, I think, and I retested the drivers.

@iabdalkader iabdalkader force-pushed the new_sensors branch 3 times, most recently from cb8b362 to 87fdc3e Compare February 15, 2023 15:54
Copy link
Contributor Author

@jimmo @dpgeorge I retested this and everything seems fine, it should be ready now, but let me know if I missed anything!

@iabdalkader iabdalkader force-pushed the new_sensors branch 4 times, most recently from bc8013b to 11e81c3 Compare February 17, 2023 08:42
Copy link
Contributor Author

Updated.

Changes are:
- fix typos
- make constants global
- rename functions with double underscore to single underscore
- rename __init__ keyword argument cs_pin -> cs
- rename read_mlc_output() -> mlc_output()
- rename read_gyro() -> gyro()
- rename read_accel() -> accel()
- update manifest
Changes are:
- fix typos
- simplify the driver init code
- support setting the magnetometer ODR separately
- update manifest
@dpgeorge dpgeorge merged commit e3371be into micropython:master Feb 18, 2023
@iabdalkader iabdalkader deleted the new_sensors branch February 18, 2023 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jimmo jimmo jimmo left review comments

@dpgeorge dpgeorge dpgeorge left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /