Skip to content
Michael Miller edited this page Dec 27, 2016 · 1 revision

When I upgraded to version 2.0 of the library, I get a compile error.

invalid use of template-name 'RtcDS3231' without an argument list

How you construct the Rtc object has changed between version 1 and version 2 (the latest).

Please see Wiki pages here and you will see only a small change is needed and it should work.

old way

RtcDS3231 Rtc();

new way

RtcDS3231<TwoWire> Rtc(Wire);
Clone this wiki locally