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

Fix Wire pin definitions on ItsyBitsy #325

Merged
merged 3 commits into from
Sep 27, 2021

Conversation

apendley
Copy link
Contributor

  • Map GPIO 2 and 3 to Wire1.
  • Provide sensible defaults for Wire0 (GPIO 24 and 25)
  • This is the same fix that was applied for the Feather in issue Fix wire defines on feather #281.

* Map GPIO 2 and 3 to Wire1.
* Provide sensible defaults for Wire0 (GPIO 24 and 25)
* This is the same fix that was applied for the Feather in issue earlephilhower#281.
@apendley apendley changed the title Fix I2C pin definitions Fix Wire pin definitions on ItsyBitsy Sep 25, 2021
@Prow7
Copy link
Contributor

Prow7 commented Sep 26, 2021

ah, basically the same fix I submitted, except you enabled set Wire0 to GPIO 24 and 25. Yes, this is probably ideal since it is consistent with the feather.

Should the #define WIRE_HOWMANY change to 2 then? Not sure it's used anywhere.

@apendley
Copy link
Contributor Author

Oh! I didn't realize that someone else had submitted a fix for the same issue! I was just banging my head against this tonight and remembered that the Feather had the same issue recently, so I dug into it a little. Not sure about WIRE_HOWMANY, I don't think it's used anywhere, but it probably wouldn't hurt to update it.

@earlephilhower earlephilhower merged commit cf63040 into earlephilhower:master Sep 27, 2021
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.

None yet

3 participants