I can compile and run the “Example1-BasicReadings” example code for the “SparkFun GPS Breakout - XA1110 (Qwiic) GPS-14414” on an Uno but the compile fails on a "SparkFun LoRa Thing Plus - expLoRaBLE WRL-17506 ".
The first two error lines are:
~Documents/Arduino/libraries/SparkFun_I2C_GPS_Arduino_Library-master/src/SparkFun_I2C_GPS_Arduino_Library.cpp: In member function ‘boolean I2CGPS::begin(TwoWire&, uint32_t)’:
~Documents/Arduino/libraries/SparkFun_I2C_GPS_Arduino_Library-master/src/SparkFun_I2C_GPS_Arduino_Library.cpp:52:20: error: call of overloaded ‘write(int)’ is ambiguous
_i2cPort->write(0); //Write dummy value
and it points to the zero in “write”.
I assume the problem is in the null parameter default in the “while (myI2CGPS.begin() == false)” line of code.
But I would appreciate suggestions for the best solution. Thanks in advance!