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

Compilation Issue #3

Open
pmahesha opened this issue Mar 27, 2018 · 1 comment
Open

Compilation Issue #3

pmahesha opened this issue Mar 27, 2018 · 1 comment

Comments

@pmahesha
Copy link

in main.cpp, I see an error:
In function 'void setup()':

sketch_mar27a:16: error: no matching function for call to 'TwoWire::begin(int, int)'

Wire.begin(SDA_PIN, SCL_PIN); // Initialize I2C

I looked at Wire.cpp file and found that there is no such member function overloaded with two parameters. How should I fix the problem?

@wilhelmzeuschner
Copy link

Try just Wire.begin(); This should work on some MCUs

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