I found this snippet of code which triggers an action at every 25past the hour which works fine, however I am trying to Serial.print this code but all I get is 0.
void Dose48Day1()
{
TimeNow = ((hour()*3600) + (minute()*60) + second());
if ((TimeNow % 3300) == 0) //ON @ 25past the hour
{
[color=red]Serial.println((TimeNow % 3300) == 0); //PRINTS 0[/color]
LEDDOSER1.setColor(Blue);
LEDDOSER1.on();
DOSING1 = timer.setTimeout(D1P48, Doser1Off);
Blynk.virtualWrite(V0, "DOSER ON");
}
}
How do I get the serial print to print the TimeNow with the 25past the hour?