-
Notifications
You must be signed in to change notification settings - Fork 4
Added comments to the examples files. #1
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
Changes from 8 commits
0367650
8d6d68f
9593516
32463ac
92e9ecf
d8b8851
36a15d2
c5a4147
2c30637
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
Simple test | ||
------------ | ||
|
||
Ensure your device works with this simple test. | ||
For I2C communications, ensure your device works with this simple test. | ||
|
||
.. literalinclude:: ../examples/l3gd20_simpletest.py | ||
:caption: examples/l3gd20_simpletest.py | ||
:linenos: | ||
|
||
For SPI communications, ensure your device works with this simple test. | ||
|
||
.. literalinclude:: ../examples/l3gd20_spi_simpletest.py | ||
:caption: examples/l3gd20_spi_simpletest.py | ||
:linenos: |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,15 +23,11 @@ Table of Contents | |
.. toctree:: | ||
:caption: Tutorials | ||
|
||
.. todo:: Add any Learn guide links here. If there are none, then simply delete this todo and leave | ||
the toctree above for use later. | ||
Adafruit Triple Axis Gyro Breakout <https://learn.adafruit.com/adafruit-triple-axis-gyro-breakout> | ||
|
||
.. toctree:: | ||
:caption: Related Products | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add the related product. It is already in the .py file; grabbed this from there: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
.. todo:: Add any product links here. If there are none, then simply delete this todo and leave | ||
the toctree above for use later. | ||
|
||
.. toctree:: | ||
:caption: Other Links | ||
|
||
|
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 only needs
["micropython", "adafruit_register"]
since that is all that you import.struct/ustruct
isn't needed (my mistake earlier; forgot struct is in CPython so Sphinx will import it without issue).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.
Done