-
Notifications
You must be signed in to change notification settings - Fork 18
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
improving docs and varia #12
Merged
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
64ee24b
improving docs, including learning guides, and ICM20948 breakout in h…
jposada202020 9ea5fdd
Changing phrasing in example code in read_the_docs
jposada202020 025f525
Changing phrasing in example code in read_the_docs
jposada202020 de35db3
Correcting class reference
jposada202020 e1758e0
changing busio.I2c to board.I2C
jposada202020 e965d7a
Parameter description change
jposada202020 5c27ce9
changing address reference
jposada202020 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
|
||
.. automodule:: adafruit_icm20x | ||
:members: | ||
:member-order: bysource |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,53 @@ | ||
Simple test | ||
------------ | ||
ICM20649 Simple test | ||
-------------------- | ||
|
||
Ensure your device works with one of these simple tests. | ||
Ensure your ICM20649 device works with one of these simple tests. | ||
|
||
.. literalinclude:: ../examples/icm20x_icm20649_simpletest.py | ||
:caption: examples/icm20x_icm20649_simpletest.py | ||
:linenos: | ||
|
||
ICM20649 Full test | ||
------------------ | ||
|
||
Test using all the ICM20649 sensor capabilities | ||
|
||
.. literalinclude:: ../examples/icm20x_icm20649_full_test.py | ||
:caption: examples/examples/icm20x_icm20649_full_test.py | ||
:linenos: | ||
|
||
ICM20948 Simple test | ||
-------------------- | ||
|
||
Ensure your ICM20948 device works with one of these simple tests. | ||
|
||
.. literalinclude:: ../examples/icm20x_icm20948_simpletest.py | ||
:caption: examples/icm20x_icm20948_simpletest.py | ||
:linenos: | ||
|
||
ICM20948 Acceleration data rate test | ||
------------------------------------ | ||
|
||
Example showing ICM20948 sensor cycling between two acceleration data rates | ||
|
||
.. literalinclude:: ../examples/icm20x_icm20948_accel_data_rate_test.py | ||
:caption: examples/icm20x_icm20948_accel_data_rate_test.py | ||
:linenos: | ||
|
||
ICM20948 Gyro data rate test | ||
---------------------------- | ||
|
||
Example showing ICM20948 sensor cycling between two gyro data rates | ||
|
||
.. literalinclude:: ../examples/icm20x_icm20948_gyro_data_rate_test.py | ||
:caption: examples/icm20x_icm20948_gyro_data_rate_test.py | ||
:linenos: | ||
|
||
ICM20948 Magnetic data rate test | ||
-------------------------------- | ||
|
||
Example showing ICM20948 sensor cycling between two magnetic data rates | ||
|
||
.. literalinclude:: ../examples/icm20x_icm20948_mag_data_rate_test.py | ||
:caption: examples/icm20x_icm20948_mag_data_rate_test.py | ||
:linenos: |
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the use of the word
slave
here toperipheral
to match the CircuitPython Design Guide terminology.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do thanks :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will go back and correct this and all the busio designations in previous PRs. Thanks @kattni
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kattni I updated this according to your suggestion and will continue to use the design guide for the comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is solved in 5c27ce9