The Planted Tank Forum - View Single Post - Guide: Arduino based LED controller for Current Satellite LED+
View Single Post
post #334 of (permalink) Old 08-30-2013, 02:09 PM
mistergreen
Children Boogie
 
mistergreen's Avatar
 
Join Date: Dec 2006
Location: Cincinnati
Posts: 16,034
Quote:
Originally Posted by Caver View Post
Wouldn't this do the same thing?
Code:
setSyncInterval(86400); //RTC sync interval in seconds
Or is there a reason you used 60*60*24 in the parenthesis?
yes, same thing. I didn't want to do the math and it's easy to read

so if you want to do every 10 hours, 60*60*10.

mistergreen is online now  
 
 
For the best viewing experience please update your browser to Google Chrome