Hi, I'm having problem using RTC.h.
In an installation on Ubuntu 16.04 with the Arduino IDE 1.8.5 I used your example without problem.
I did a new installation on another system Ubuntu 20.04 with the same IDE and the same script doesn't work due to an error because while using the instruction RTC.setTime(__TIME__) (or whateaver RTC.method) the "RTC.h out of scope" arise.
I suppose that the problem is due to the fact that I installed the RTC.h standard library and this is used at first istance, but I think that this library is already included in yours and that it instantiate the RTC object automatically.
Do you have some idea?
Thanks