spresense: return valid reference voltage by kamtom480 · Pull Request #4310 · adafruit/circuitpython · GitHub
Skip to content

spresense: return valid reference voltage#4310

Merged
dhalbert merged 2 commits into
adafruit:mainfrom
kamtom480:spresense_analogin
Mar 2, 2021
Merged

spresense: return valid reference voltage#4310
dhalbert merged 2 commits into
adafruit:mainfrom
kamtom480:spresense_analogin

Conversation

@kamtom480

Copy link
Copy Markdown

Return as reference voltage, 5V for pins A0, A1, A4 and A5. These pins are only available on the extension board. For pins A2 and A3 the reference voltage will differ depending on the board. For main board it is 0.7V and for extension board it is 5V. For this reason, I return 0 for these pins.

@dhalbert

dhalbert commented Mar 2, 2021

Copy link
Copy Markdown
Collaborator

@dhalbert dhalbert left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks - I am going to approve this for now and any pin changes can come later.

@dhalbert dhalbert merged commit 9f6ebf3 into adafruit:main Mar 2, 2021
@kamtom480

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants