Every X day do condition

i have function for count Day results to Daycount++;

Int Daycount;

Now i need to some function do every X day(1-7day. Adjust via blynk)

Ex. Every 3 day = 3, 6, 9, 12, 15 date.

How to program know is in condition?

 if (Daycount % 3 == 0) Serial.print (" exact 3th day");
2 Likes

That works, Thank.

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.