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

1.0.8 does not work with Arduino 1.8.5 / Mega256 #5

Open
rtammer opened this issue Jun 3, 2018 · 4 comments
Open

1.0.8 does not work with Arduino 1.8.5 / Mega256 #5

rtammer opened this issue Jun 3, 2018 · 4 comments

Comments

@rtammer
Copy link

rtammer commented Jun 3, 2018

Hello,
The Arduido 1.8.5 IDE (Mega 256) does complain about Wire.begin(0,2).

According to the docs there is no second parameter to Wire.begin();.

Bye
Rainer

@BlueDot-Arduino
Copy link
Owner

Hello Rainer,

Thank you for point it that out, I haven't noticed it. The Wire.begin() can have a second parameter, but it works only with the ESP8266 board. I made a mistake implementing this function on version 1.0.8 and, as you have already noticed, it creates problems when you try to compile with the regular Arduino boards.

I already corrected the .cpp file on github a while ago, but forgot to create a new version. The Arduino Library Manager still has the wrong version, which probably caused the error with your board.

You can download the new 1.0.9 version on github right now or wait an hour or so for the version to be available on the Arduino Library Manager. The version 1.0.8 will be deactivated.

Please let me know if you are still having difficulties compiling this library with your board.

Best Regards,
Thiago

@rtammer
Copy link
Author

rtammer commented Jun 3, 2018 via email

@BlueDot-Arduino
Copy link
Owner

Hello Rainer,
I just saw your second issue, but I couldn't reproduce the error message. Although I don't own an Arduino Mega, I've set the Arduino IDE to compile to the ATMega2560 and I could compile the library version 1.0.9 without any problems. Did you try the latest version of the library with your board? Perhaps both issues were related...

Best Regards
Thiago

@rtammer
Copy link
Author

rtammer commented Jun 3, 2018 via email

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