Skip to content
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

Teensy: High pins don't work #102

Closed
3hhh opened this issue Oct 11, 2023 · 1 comment · Fixed by #103
Closed

Teensy: High pins don't work #102

3hhh opened this issue Oct 11, 2023 · 1 comment · Fixed by #103

Comments

@3hhh
Copy link
Contributor

3hhh commented Oct 11, 2023

I just wanted to use pin A17 on a Teensy 4.1 and it didn't work.

I think the reason is that analogRead(17) reads pin 17, which is A3. Teensy forums suggest to use analogRead(A17) instead, but putting A17 as pin for edrumulus didn't work neither. Possibly A17 is defined by some non-Teensy include, I don't know.

According to the Teensy forums this behaviour applies to all pins >= 14. Maybe it even applies to all Arduino boards?

https://forum.pjrc.com/threads/64046-Cannot-find-A14-A17-on-a-Teensy-4-1
https://forum.pjrc.com/threads/54963-trouble-reading-Analog-pins-A14-and-above

@3hhh
Copy link
Contributor Author

3hhh commented Oct 11, 2023

Btw I also tried with pin 41 instead of 17 and A17 and that didn't work neither.

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 a pull request may close this issue.

1 participant