Skip to content

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