jarzebski / Arduino-DS3231

DS3231 Real-Time-Clock
MIT License
157 stars 84 forks source link

no matching function for call to 'DS3231::DS3231(const uint8_t&, const uint8_t&)' #31

Open emp-98 opened 3 years ago

emp-98 commented 3 years ago

include

include

DS3231 rtc(SDA, SCL); void setup() { Serial.begin(9600);
Wire.begin(4,5);
rtc.begin(); Serial.print(rtc.getDateStr()); Serial.print(" -- "); Serial.println(rtc.getTimeStr()); Serial.println(" "); }

void loop() { String dataString = String(rtc.getDateStr())+" "+String(rtc.getTimeStr())+"\t"; }

This is a piece of my code and the error that I get is the following: no matching function for call to 'DS3231::DS3231(const uint8_t&, const uint8_t&)' Thanks in advance.

siraj1997 commented 1 year ago

Same issue