Go Down

Topic: Update ds1307 rtc-NTP sync tool (Read 8814 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy