Skip to content

Emphasize that IO functions take Arduino pin numbers #516

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 1 commit into from
Jun 1, 2019
Merged

Emphasize that IO functions take Arduino pin numbers #516

merged 1 commit into from
Jun 1, 2019

Conversation

per1234
Copy link
Collaborator

@per1234 per1234 commented Feb 4, 2019

It's fairly common for users dabbling with bare microcontroller chips (e.g. "Arduino on a breadboard") to think that they can pass either the port/bit pin notation (e.g. PB5) or physical chip pin numbers to the Arduino IO functions.

These changes are intended to emphasize that these functions only accept Arduino pin numbers as their pin parameter, without complicating the documentation for the users of standard Arduino boards.

I'd like to eventually add a simple explanation of Arduino pin numbers to the "Digital Pins" tutorial, and perhaps the "Analog Pins" tutorial as well.


Reference:

Related:

It's fairly common for users dabbling with bare microcontroller chips (e.g. "Arduino on a breadboard") to think that they can pass either the port/bit pin notation (e.g. PB5) or physical chip pin numbers to the Arduino IO functions.

These changes are intended to emphasize that these functions only accept Arduino pin numbers as their pin parameter, without complicating the documentation for the users of standard Arduino boards.
@robsoncouto robsoncouto merged commit b74cbb8 into arduino:master Jun 1, 2019
@robsoncouto
Copy link
Contributor

Thanks, per!
Merged

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