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

Pins in the comments of the code #193

Open
Palmstroemen opened this issue Dec 15, 2020 · 1 comment
Open

Pins in the comments of the code #193

Palmstroemen opened this issue Dec 15, 2020 · 1 comment

Comments

@Palmstroemen
Copy link
Contributor

Palmstroemen commented Dec 15, 2020

Just want to suggest adding one or two comment lines to the top of the code of the examples. Something like:
// Pins for most Arduinos: SDA=A4, SCL=A5
// Differs for some boards like i.e. Mega 2560: SDA=20, SCL=21, ...
// Look for hardware I2C-Pins on your board!

It took me some time to figure that out. Pins are often described in the comments of example sketches.

@ladyada
Copy link
Member

ladyada commented Dec 15, 2020

Thanks, please submit a PR with your changes and we will review!

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

No branches or pull requests

2 participants