will this code be functional in real life? I'm using the RTC DS1307?
void loop
{
DateTime now = rtc.now();
int i;
for(i=0 ; i >10 ; i++)
{
<do something
delay(now.year())
}
the program says compile done but not sure if this will work?
my question is can this codes will work in real life?
i just want a per year delay for my thesis thanks