Hi
I just bought several of there modules to use with DUE boards. Tested them on a mega platform and everything worked fine.
Switched to DUE and this is the compiler message i got:
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.cpp: In member function ‘bool RV8803::setTime(uint8_t*, uint8_t)’:
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.cpp:615:59: error: call of overloaded ‘writeBit(int, int, int)’ is ambiguous
writeBit(RV8803_CONTROL, CONTROL_RESET, RV8803_DISABLE); //Set RESET bit to 0 after setting time to make sure seconds don’t get stuck.
^
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.cpp:615:59: note: candidates are:
In file included from Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.cpp:17:0:
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.h:262:7: note: bool RV8803::writeBit(uint8_t, uint8_t, bool)
bool writeBit(uint8_t regAddr, uint8_t bitAddr, bool bitToWrite);
^
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.h:263:7: note: bool RV8803::writeBit(uint8_t, uint8_t, uint8_t)
bool writeBit(uint8_t regAddr, uint8_t bitAddr, uint8_t bitToWrite);
^
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.cpp: In member function ‘bool RV8803::setHundredthsToZero()’:
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.cpp:622:70: error: call of overloaded ‘writeBit(int, int, int)’ is ambiguous
bool temp = writeBit(RV8803_CONTROL, CONTROL_RESET, RV8803_ENABLE);
^
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.cpp:622:70: note: candidates are:
In file included from
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.cpp:17:0:
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.h:262:7: note: bool RV8803::writeBit(uint8_t, uint8_t, bool)
bool writeBit(uint8_t regAddr, uint8_t bitAddr, bool bitToWrite);
^
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.h:263:7: note: bool RV8803::writeBit(uint8_t, uint8_t, uint8_t)
bool writeBit(uint8_t regAddr, uint8_t bitAddr, uint8_t bitToWrite);
^
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.cpp:623:67: error: call of overloaded ‘writeBit(int, int, int)’ is ambiguous
temp &= writeBit(RV8803_CONTROL, CONTROL_RESET, RV8803_DISABLE);
^
\Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.cpp:623:67: note: candidates are:
In file included from
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.cpp:17:0:
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.h:262:7: note: bool RV8803::writeBit(uint8_t, uint8_t, bool)
bool writeBit(uint8_t regAddr, uint8_t bitAddr, bool bitToWrite);
^
Arduino\libraries\SparkFun_Qwiic_RTC_RV8803_Arduino_Library\src\SparkFun_RV8803.h:263:7: note: bool RV8803::writeBit(uint8_t, uint8_t, uint8_t)
bool writeBit(uint8_t regAddr, uint8_t bitAddr, uint8_t bitToWrite);
^
exit status 1
Same for the arduino Evry. A long list of error messages when trying to compile example sketch.
Also when i try to open the example file for the 8803 in Microchip studio where i write most of my arduino code,
i get the error message when opening: The Project Example2-Print-Yime contains a device ATSAM3X8E which is not supported by microchip Studio. Please select another device.
This sparkfun product has been difficult to get working. Usualy they work right out of the box.
Is the library out of date of something since 2 out of three arduinos does not work with this device?