Digistump Forums
The DigiX => DigiX Support => Topic started by: Twistit on October 18, 2014, 04:04:35 am
-
I'm using the rtc_clock.h library but also using the Time.h library and i need to setSyncProvider.
However that requires an Time_T responce and doesnt work like rtc.get sadly.
How do i work around this?
error: no matches converting function 'unixtime' to type 'time_t (*)()'
-
Nevermind used:
rtc_clock.get_time(&hh,&mm,&ss);
rtc_clock.get_date(&dow,&dd,&mon,&yyyy);
setTime(hh,mm,ss,dd,mon,yyyy);