Hello, Im having the following problem.
I had a code runningin a uno-clone for more than 2 years. Cant remember in what IDE version it was compiled.
Today I had to make a minor change (=add a Serial.print statement for date). Nothing else.
The code cannot be compiled in 1.8.1 with error :
DS1307RTC.h:20:23: error: 'tmElements_t' has not been declared
static bool write(tmElements_t &tm);
Interesting (?): It compiles ok in version IDE 1.6.7 same computer, same usb port.
Any suggestions?