The Planted Tank Forum - View Single Post - Guide: Arduino based LED controller for Current Satellite LED+
View Single Post
Old 08-30-2013, 02:07 PM   #333
Caver
Algae Grower
 
PTrader: (0/0%)
Join Date: Jun 2013
Location: Austin TX
Posts: 56
Default

Quote:
Originally Posted by mistergreen View Post
Ah, just found it... You can resync.

Code:
 setSyncInterval(interval);  // Set the number of
                               //  seconds between re-sync
so if you want to re-synce in a day

Code:
 setSyncInterval(60*60*24);  // Set the number of
                               //  seconds between re-sync
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?
__________________
--
Tom
Caver is offline   Reply With Quote