You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code snippet below is from Line 250 of MCP7940.cpp. Both #if and #elif conditions are the same. Wire.begin() never gets called. if ESP8266 is not defined.
#if defined(ESP8266)
Wire.begin(sda, scl); // Start I2C as master device using the specified SDA and SCL
#elif defined(ESP8266)
Wire.begin(); // Start I2C as master device
#endif
Changing `#elif defined(ESP8266)` to `#else` solves the issue.
- Library Version: 1.2.0
- Testing on Arduino Due
The text was updated successfully, but these errors were encountered:
Code snippet below is from Line 250 of
MCP7940.cpp
. Both#if
and#elif
conditions are the same.Wire.begin()
never gets called. ifESP8266
is not defined.The text was updated successfully, but these errors were encountered: