What does this compile (verbose) warning mean ?
What does "candidate" refer to ?
...
...
C:\Documents and Settings<username>\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\variants\d1_mini -IC:\Documents and Settings<username>\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\Wire C:\DOCUME~1<USRNM~1>\LOCALS~1\Temp\build7097269456001987403.tmp\MPU6050finally.cpp -o C:\DOCUME~1<USRNM~1>\LOCALS~1\Temp\build7097269456001987403.tmp\MPU6050finally.cpp.oIn file included from MPU6050finally.ino:5:0:
C:\Documents and Settings<username>\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\Wire/Wire.h: In function 'void loop()':
C:\Documents and Settings<username>\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\Wire/Wire.h:70:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int, int)
uint8_t requestFrom(int, int, int);
^
C:\Documents and Settings<username>\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\Wire/Wire.h:64:12: note: candidate 2: size_t TwoWire::requestFrom(uint8_t, size_t, bool)
size_t requestFrom(uint8_t address, size_t size, bool sendStop);
^
C:\Documents and Settings<username>\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\Wire/Wire.h:70:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int, int)
uint8_t requestFrom(int, int, int);
^
C:\Documents and Settings<username>\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\Wire/Wire.h:64:12: note: candidate 2: size_t TwoWire::requestFrom(uint8_t, size_t, bool)
size_t requestFrom(uint8_t address, size_t size, bool sendStop);
^
Using previously compiled file: C:\DOCUME~1\<USRNM~1>\LOCALS~1\Temp\build7097269456001987403.tmp\Wire\Wire.cpp.o C:\Documents and Settings\<username>\Application Data\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-gcc -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:\Documents and Settings\<username>\Application Data\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/include -I ... ...
the < code > section is what was in the orange font, while the rest were the white font (not the full text).
i had been testing a MPU6050 on an Arduino Uno and have now just moved it to a WemosD1 (ESP8266).
it seemed to run okay at first and then went haywire (servo.pos went to extremes due to (what i later discovered) were blank readings.
i had switched to the basic example sketch (just simple reading values) which worked - at first, but then afterwards didn't.
is the above compile warning related ?
i'm not sure what it means - do i have to fix/edit the library ?
i just noticed this other thread on Page One which perhaps is related ?
http://forum.arduino.cc/index.php?topic=559908.msg3823178#msg3823178
thanks for any insight, or pointers to a general link to understanding Arduinio IDE compiler warnings. (there didn't seem to be any "explanatory text" included with the above)
it just compiled and uploaded.
Just for info;
The actual code is the example code
void loop () {
Wire.beginTransmission(MPU_addr);
Wire.write(0x3B);
Wire.endTransmission(false);
Wire.requestFrom(MPU_addr,14,true);
AcX=Wire.read()<<8|Wire.read();
<< ...etc...6 more similar lines >>
<< and then Serial.println(those respective registers) >>