-
Notifications
You must be signed in to change notification settings - Fork 226
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
error: call of overloaded Wire.begin(int&, int, int)' is ambiguous #85
Comments
Sorry, just saw this was fixed in commit 494d6b9c. Closing. |
Reopening: seems like there hasn't been a release since June 2020, and so I can't use the fix that is already merged. Any chance of publishing a new version 1.1.1? 🙏 |
I agree this fix is necessary. Compiling .pio\build\heltec_wireless_stick_lite\libcc3\Heltec ESP32 Dev-Boards\heltec.cpp.o |
Version 1.1.1 was published last night to the Arduino Library by @Heltec-Aaron-Lee. Thank you Aaron!! Still waiting for it to be published to the PlatformIO Registry. Aaron said: "platformio is maintained by their official team for us, and I have notified them to upgrade accordingly". So I hope it will update soon. 🤞 |
Package 1.1.1 is published to PlatformIO registry! And my project now works with the latest THANK YOU HELTEC!! 💜 Awesome customer service |
You mean you can compile with the PlatformIO Espressif 32 V4.3.0? |
Yes I am still able to compile with espressif32 4.3.0. Maybe because I'm not actually using LoRaWAN in my project? |
You are right. I just compiled a minimal project with espressrif V4.3 as well. |
The code in BMP180.cpp does not compile after upstream arduino-esp32 library was updated.
I'm trying to use this library via platformio. My code worked, and was unchanged for more than 1 year. I just went back to the project, updated library versions, and now I'm getting a compile error from this library.
Specifically, in BMP180.cpp there is a call to
Wire.begin
.This used to be fine. But then the underlying
framework-arduinoespressif32
library was updated to add an overloadedWire.begin
function, which makes the call here ambiguous.bool begin(int sda=-1, int scl=-1, uint32_t frequency=0); // returns true, if successful init of i2c bus + bool begin(uint8_t slaveAddr, int sda=-1, int scl=-1, uint32_t frequency=0);
I tried some changes to the BMP180.cpp in this repo to see if I could fix it, but I couldn't figure out how to make the compiler know which
Wire.begin
function to use. I also left a comment on the arduino-esp32 repo to see if they have any suggestions.The text was updated successfully, but these errors were encountered: