Open fxframes opened 8 months ago
Hello,
Thank you for your message. I'm sorry to hear that you are having trouble with the library. I have Already updated the library but it might take 2 hours atmost to update. This is a quick fix. I might update all examples next weekend. since Serial.printf() is not availble in AVR microcontrollers you may need to use other print function for the example code.
Thank you for raising the issue. Best regards,
Thank you for releasing the library! :)
Hello,
I'm receiving an error trying compiling an example code "getTimeandDate" v1.0.2 and I don't know how to correct it. :/
C:\Users\PC\AppData\Local\Temp\.arduinoIDE-unsaved2024513-20392-1jw96bh.uxaq\getTimeandDate\getTimeandDate.ino: In function 'void loop()':
C:\Users\PC\AppData\Local\Temp\.arduinoIDE-unsaved2024513-20392-1jw96bh.uxaq\getTimeandDate\getTimeandDate.ino:19:12: error: 'class HardwareSerial' has no member named 'printf'; did you mean 'print'?
Serial.printf("Time %02d:%02d:%02d ", rtc.getHour(), rtc.getMinute(), rtc.getSeconds());
^~~~~~
print
C:\Users\PC\AppData\Local\Temp\.arduinoIDE-unsaved2024513-20392-1jw96bh.uxaq\getTimeandDate\getTimeandDate.ino:30:12: error: 'class HardwareSerial' has no member named 'printf'; did you mean 'print'?
Serial.printf("Date %02d-%02d-%d \n", rtc.getMonth(), rtc.getDate(), rtc.getYear());
^~~~~~
print
exit status 1
Compilation error: 'class HardwareSerial' has no member named 'printf'; did you mean 'print'?
I get a compiling error when trying to use the set time and date example. Arduino IDE 1.8.19 on a Mac. Compiling for an ATmega328PB.
/Users//Documents/Arduino/libraries/Bonezegei_DS1307/src/Bonezegei_DS1307.cpp: In member function 'char Bonezegei_DS1307::begin()': /Users//Documents/Arduino/libraries/Bonezegei_DS1307/src/Bonezegei_DS1307.cpp:16:17: error: could not convert 'Wire.TwoWire::begin()' from 'void' to 'bool'
Thanks.