I hope that this is the correct place for my question.
I have a project that uses a RTC 3231 clock and the RTC3231 library. However, since updating to the current version of the library, the sketch fails to compile. I get the error message below.
exit status 1 no matching function for call to 'DS3231::DS3231(const uint8_t&, const uint8_t&)'
Rather than trying to unpick where the problem lies with the sketch, the RTC element of which I did not write myself and do not fully understand, I should like to install an earlier version of the library.
Does anyone have, or know how I can get, a version of DS3231.h earlier than the current version?
Post a link to where you got the library from. Please use the chain links icon on the toolbar to make it clickable. Or if you installed it using Library Manger(Sketch > Include Library > Manage Libraries) then say so and state the full name of the library.
There are several different libraries for the DS3231/DS3232, and they each use different syntax.
I have a project that uses a RTC 3231 clock and the RTC3231 library. However, since updating to the current version of the library, the sketch fails to compile. I get the error message below.
exit status 1
no matching function for call to 'DS3231::DS3231(const uint8_t&, const uint8_t&)'
The Northern Widget link is to a DS32312 library which does not have a instance constructor with two parameters.
Please explain what you did to update the library. It may be that you changed libraries as well.
When I connected the Arduino to my laptop and loaded the IDE (the standard one), I received a pop-up message saying that updates were available for the board and for some libraries. Clicking the message brought up a screen where the updates were listed and fro which they could be installed, which I did.