The Planted Tank Forum - View Single Post - Guide: Arduino based LED controller for Current Satellite LED+
View Single Post
Old 08-30-2013, 02:09 PM   #334
No more Bow ties
mistergreen's Avatar
PTrader: (13/100%)
Join Date: Dec 2006
Location: Cincinnati
Posts: 14,683

Originally Posted by Caver View Post
Wouldn't this do the same thing?
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 offline   Reply With Quote