-
Notifications
You must be signed in to change notification settings - Fork 19
MCP3002 support #20
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
Merged
MCP3002 support #20
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
472c9e0
prototyping MCP3002 class
2bndy5 bcabc49
command for mcp3002 requires 1 less bit
2bndy5 bee5f07
documenting base class again
2bndy5 e0189f2
more docs changes
2bndy5 0fc98ad
merging upstream from master
2bndy5 36e07ce
using issubclass() to verify siblings
2bndy5 dad7708
to LF and optimized AnalogIn and MCP3002.read
2bndy5 67c1703
this works
2bndy5 1173ea8
code golfing; docs give priority to MCP3008
2bndy5 9b59fc6
docs on channel aliases. docs need pinouts
2bndy5 678ee42
rearraged API docs; link to datasheets for pinouts
2bndy5 b1b4da4
make it look like math
2bndy5 f8077b2
double comment?! doc proofreading
2bndy5 9979fa8
more precise error message
2bndy5 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
rearraged API docs; link to datasheets for pinouts
- Loading branch information
commit 678ee4230a62fc6df82bd3c82a8402fd4cea560f
There are no files selected for viewing
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,21 @@ | ||
| API | ||
| ------------ | ||
|
|
||
| .. automodule:: adafruit_mcp3xxx.mcp3xxx | ||
| :members: | ||
|
|
||
| .. automodule:: adafruit_mcp3xxx.mcp3008 | ||
| :members: | ||
| :show-inheritance: | ||
|
|
||
| .. automodule:: adafruit_mcp3xxx.mcp3004 | ||
| :members: | ||
| :show-inheritance: | ||
|
|
||
| .. automodule:: adafruit_mcp3xxx.mcp3002 | ||
| :members: | ||
| :exclude-members: read | ||
| :show-inheritance: | ||
|
|
||
| .. automodule:: adafruit_mcp3xxx.analog_in | ||
| :members: | ||
| API | ||
| ------------ | ||
| .. automodule:: adafruit_mcp3xxx.mcp3xxx | ||
| :members: | ||
| .. automodule:: adafruit_mcp3xxx.analog_in | ||
| :members: | ||
| .. automodule:: adafruit_mcp3xxx.mcp3008 | ||
| :members: | ||
| :show-inheritance: | ||
| .. automodule:: adafruit_mcp3xxx.mcp3004 | ||
| :members: | ||
| :show-inheritance: | ||
| .. automodule:: adafruit_mcp3xxx.mcp3002 | ||
| :members: | ||
| :exclude-members: read | ||
| :show-inheritance: |
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.
Uh oh!
There was an error while loading. Please reload this page.