I am trying to connect a GPS to an Arduino via TWI connection. This works fine when I use the Adafruit GPS library and basic Arduino Nano. However, simply changing to Arduino Nano Every, the same source code induces the following compilation errors. Has anyone encountered a similar problem? Anyone know a fix?
In file included from c:\Users\User\OneDrive\GregData\Projects\Arduino\Data\Target Firmware\libraries\Adafruit_GPS_Library\src/Adafruit_GPS.h:66:0,
from c:\Users\User\OneDrive\GregData\Projects\Arduino\Data\Target Firmware\libraries\Adafruit_GPS_Library\src\Adafruit_GPS.cpp:31:
C:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\libraries\Wire\src/Wire.h: In member function 'char Adafruit_GPS::read()':
C:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\libraries\Wire\src/Wire.h:64:12: note: candidate 1: size_t TwoWire::requestFrom(int, int, int)
size_t requestFrom(int, int, int);
^~~~~~~~~~~
C:\Users\User\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\libraries\Wire\src/Wire.h:62:12: note: candidate 2: virtual size_t TwoWire::requestFrom(uint8_t, size_t, bool)
size_t requestFrom(uint8_t, size_t, bool);
^~~~~~~~~~~
Sketch uses 16432 bytes (33%) of program storage space. Maximum is 49152 bytes.
Global variables use 3611 bytes (58%) of dynamic memory, leaving 2533 bytes for local variables. Maximum is 6144 bytes.