Movatterモバイル変換


[0]ホーム

URL:


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

unoq: fix: reversed A4 and A5 ADC channels and clarify pin assignments#256

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
JoanVC100 wants to merge1 commit intoarduino:main
base:main
Choose a base branch
Loading
fromJoanVC100:main

Conversation

@JoanVC100
Copy link

While testing the analog inputs on the Uno Q, I discovered that A4 and A5 were swapped in the device tree overlay. The corresponding channels can be found in the STM datasheet on page 111.

This took me a while to figure out because they were working perfectly when used as digital inputs. The error only appeared when I used them as ADC inputs.

I also added comments clarifying that the ADC lines refer to the A4 and A5 pins and their corresponding ports.

pillo79 reacted with heart emoji
Correct the io-channels ordering so that A4 maps to PC1 (ADC1 Channel 2) andA5 maps to PC0 (ADC1 Channel 1).The corresponding channels can be found in the STM datasheet on page 111. Also,add some comments to clarify which pins are being used.
@CLAassistant
Copy link

CLAassistant commentedNov 11, 2025
edited
Loading

CLA assistant check
All committers have signed the CLA.

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

Reviewers

@facchinmfacchinmfacchinm approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@JoanVC100@CLAassistant@facchinm

[8]ページ先頭

©2009-2025 Movatter.jp