Wire library trouble
Posted: Fri Jul 24, 2015 5:04 pm
Installed the esp8266-as-arduino stuff into my Arduino IDE and built a working blink example (this is *so* cool!).
Next, I added a BMP180 temp/pres sensor and adapted the espa_thingspeak_v03.ino sketch to my wifi router (SSID/Password) and thingspeak apikey.
When compiling, Arduino IDE gives an error on what appears to be associated with the Wire library:
My guess is that the wire library adaptation discussed briefly in the github documentation did not get installed.
Can someone help me work through this?
Arduino Library Manager shows the following:
"Wire Built-In by Arduino Version 1.0.0 INSTALLED
Allows the communication between devices or sensors connected via Two Wire Interface Bus. For esp8266 boards."
Is this the correct wire library supporting 2 parameters in the call to Wire.begin()?
Next, I added a BMP180 temp/pres sensor and adapted the espa_thingspeak_v03.ino sketch to my wifi router (SSID/Password) and thingspeak apikey.
When compiling, Arduino IDE gives an error on what appears to be associated with the Wire library:
Code: Select all
espa_thingspeak_v03.ino: In function 'void setup()':
espa_thingspeak_v03:195: error: no matching function for call to 'TwoWire::begin(int, int)'
espa_thingspeak_v03.ino:195:18: note: candidates are:
In file included from espa_thingspeak_v03.ino:8:0:
C:\Users\Donatech\Documents\Arduino\hardware\esp8266com\esp8266\libraries\Wire/Wire.h:53:10: note: void TwoWire::begin()
void begin();
^
C:\Users\Donatech\Documents\Arduino\hardware\esp8266com\esp8266\libraries\Wire/Wire.h:53:10: note: candidate expects 0 arguments, 2 provided
My guess is that the wire library adaptation discussed briefly in the github documentation did not get installed.
Can someone help me work through this?
Arduino Library Manager shows the following:
"Wire Built-In by Arduino Version 1.0.0 INSTALLED
Allows the communication between devices or sensors connected via Two Wire Interface Bus. For esp8266 boards."
Is this the correct wire library supporting 2 parameters in the call to Wire.begin()?