Well, i'm trying to use DS3231 as timer to do something on time. And i'm still getting this error : 'now' was not declared in this scope. I have attached my sketch. And here is error code :
Build options changed, rebuilding all
C:\Users\nesvy\Desktop\RTC\RTC.ino: In function 'void loop()':
RTC:29: error: 'now' was not declared in this scope
if ( now.hour() == 19 & now.minute() == 54 & now.second() == 0) {
^
exit status 1
'now' was not declared in this scope
Sorry if it is something easy, but i'm pretty much begineer. Thanks for every help.
RTC.ino (609 Bytes)