Pages: 1 [2]   Go Down
Author Topic: Update ds1307 rtc-NTP sync tool  (Read 6965 times)
0 Members and 1 Guest are viewing this topic.
Sarajevo
Offline Offline
Newbie
*
Karma: 0
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK i managed to get it work, now i want it to use in another code taht i made. But there is a problem, i cannot use
#include <DS1307RTC.h>
and
#include <RTClib.h>
At same time apperalnty, so i deleted #include <RTClib.h>
but now there is a part
Quote
   RTC.set(DateTime(t4));
It sais DateTime is not declared in that scope :/
But i need DateTime so that i can configurate the RTC
Edit:
Decidet do use RTClib.h, then i gotr a lotr of strange errors, a few google searches and i found out that thiss is really importent
the first declared include must be
Wire.h
and after that RTClib.h
So i did it and now doesnt have any error messages
« Last Edit: September 16, 2013, 03:43:49 am by nino90 » Logged

Pages: 1 [2]   Go Up
Jump to: