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

Quote:
Originally Posted by Dahammer View Post
The code already does:
Code:
  setSyncProvider(syncProvider);     // reference our syncProvider function instead of RTC_DS1307::get()
Code:
time_t syncProvider()
{
  //this does the same thing as RTC_DS1307::get()
  return RTC.now().unixtime();
}
Yeah, does it do only once on setup()?
mistergreen is online now   Reply With Quote