Go Down

Topic: Update ds1307 rtc-NTP sync tool (Read 8093 times) previous topic - next topic

nino90

#15
Sep 15, 2013, 01:27 pm Last Edit: Sep 16, 2013, 10:43 am by nino90 Reason: 1
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

Go Up