When I compile my sketch, I get the error message below.
It doesn't stop the sketch compiling and doesn't seem to cause any problem with it executing.
Whilst I don't fully understand the error, I'm guessing there is something going on between the SX1509_IO_Expander library and the I2C wire.h
library. (As far as I can tell, both are up to date.)
This has only started happening since I switched from a Nano to a NanoEvery and from IDEv1to IDEv2 (which I did at the same time).
Is it something I need to worry about? If it is, how do I resolve it, and if not, why not?
In file included from C:\Users\JD\Documents\Arduino\libraries\SX1509_IO_Expander\src\SparkFunSX1509.cpp:25:0:
C:\Users\JD\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\libraries\Wire\src/Wire.h: In member function 'uint8_t SX1509::readByte(uint8_t)':
C:\Users\JD\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\libraries\Wire\src/Wire.h:63:12: note: candidate 1: size_t TwoWire::requestFrom(int, int)
size_t requestFrom(int, int);
^~~~~~~~~~~
C:\Users\JD\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\libraries\Wire\src/Wire.h:61:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t)
size_t requestFrom(uint8_t, size_t);
^~~~~~~~~~~
C:\Users\JD\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\libraries\Wire\src/Wire.h: In member function 'uint16_t SX1509::readWord(uint8_t)':
C:\Users\JD\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\libraries\Wire\src/Wire.h:63:12: note: candidate 1: size_t TwoWire::requestFrom(int, int)
size_t requestFrom(int, int);
^~~~~~~~~~~
C:\Users\JD\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\libraries\Wire\src/Wire.h:61:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t)
size_t requestFrom(uint8_t, size_t);
^~~~~~~~~~~
C:\Users\JD\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\libraries\Wire\src/Wire.h: In member function 'bool SX1509::readBytes(uint8_t, uint8_t*, uint8_t)':
C:\Users\JD\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\libraries\Wire\src/Wire.h:63:12: note: candidate 1: size_t TwoWire::requestFrom(int, int)
size_t requestFrom(int, int);
^~~~~~~~~~~
C:\Users\JD\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\libraries\Wire\src/Wire.h:61:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t)
size_t requestFrom(uint8_t, size_t);
^~~~~~~~~~~
Sketch uses 25468 bytes (51%) of program storage space. Maximum is 49152 bytes.
Global variables use 1459 bytes (23%) of dynamic memory, leaving 4685 bytes for local variables. Maximum is 6144 bytes.