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

using custom wire pins, useful for esp-based boads #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

martinhanes
Copy link

For esp-based boards, wire.begin(sda, scl) should be called, otherwise i2c is not working.

https://github.com/esp8266/Arduino

So I've added a method, which can help update the sda and scl pins before begin() is called.

@martinhanes
Copy link
Author

any comments on this?

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.

1 participant