Arduino: 1.8.4 (Mac OS X), Board: "Arduino/Genuino Uno"
easy_clock:29: error: no matching function for call to 'DS3231::DS3231()'
DS3231 Clock; DS3231
^
/Users/khaliddavirus/Desktop/sketches/easy_clock/easy_clock.ino:29:8: note: candidates are:
In file included from /Users/khaliddavirus/Desktop/sketches/easy_clock/easy_clock.ino:15:0:
/Users/khaliddavirus/Documents/Arduino/libraries/DS3231/DS3231.h:80:3: note: DS3231::DS3231(uint8_t, uint8_t)
DS3231(uint8_t data_pin, uint8_t sclk_pin);
^
/Users/khaliddavirus/Documents/Arduino/libraries/DS3231/DS3231.h:80:3: note: candidate expects 2 arguments, 0 provided
/Users/khaliddavirus/Documents/Arduino/libraries/DS3231/DS3231.h:77:7: note: constexpr DS3231::DS3231(const DS3231&)
class DS3231
^
/Users/khaliddavirus/Documents/Arduino/libraries/DS3231/DS3231.h:77:7: note: candidate expects 1 argument, 0 provided
/Users/khaliddavirus/Documents/Arduino/libraries/DS3231/DS3231.h:77:7: note: constexpr DS3231::DS3231(DS3231&&)
/Users/khaliddavirus/Documents/Arduino/libraries/DS3231/DS3231.h:77:7: note: candidate expects 1 argument, 0 provided
easy_clock:31: error: expected initializer before 'year'
byte year, month, date, DoW, hour, minute, second;
^
/Users/khaliddavirus/Desktop/sketches/easy_clock/easy_clock.ino: In function 'void loop()':
easy_clock:110: error: 'year' was not declared in this scope
Clock.getTime(year, month, date, DoW, hour, minute, second);
^
easy_clock:110: error: 'month' was not declared in this scope
Clock.getTime(year, month, date, DoW, hour, minute, second);
^
easy_clock:110: error: 'date' was not declared in this scope
Clock.getTime(year, month, date, DoW, hour, minute, second);
^
easy_clock:110: error: 'DoW' was not declared in this scope
Clock.getTime(year, month, date, DoW, hour, minute, second);
^
easy_clock:110: error: 'hour' was not declared in this scope
Clock.getTime(year, month, date, DoW, hour, minute, second);
^
easy_clock:110: error: 'minute' was not declared in this scope
Clock.getTime(year, month, date, DoW, hour, minute, second);
^
easy_clock:110: error: 'second' was not declared in this scope
Clock.getTime(year, month, date, DoW, hour, minute, second);
^
easy_clock:111: error: 'class DS3231' has no member named 'getTemperature'
int temperature=(Clock.getTemperature()*1.8+32);
^
exit status 1
no matching function for call to 'DS3231::DS3231()'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.