i want to create a simple clock. Therefor I use the RTC DS1307 module. I’m really searching for a library, which is described easily.
I found a tutorial with a library called “RTClib.h”. I downloaded the RTClib.h and the RTClib.cpp and added this to my projekt like this: (first picture) (this are tabs next to my main code)
Then I wanted to include the informations I got from the example sketch (DS1307 RTC tutorial) to my program. But when I started with the first command “RTC.begin();”, I got an errorlike this (2nd attachment).
I’m sure that I inluded the library in a wrong way. How do I have to do this?