Thank you.
I tried this lib, but it not worked for me, maybe because wiring errors, or because my RTC is a DS1307 and most probably because I´m using a NodeMCU, with only few pins available.
Actually, I had success with inline code, I will post here my solution later. I changed the original arduino lib and created there 3 new methods to return hours, minutes, seconds as int. The setTime works well with no problems.
But I dtill want to know how tro return a string from inline C. Could you please post an example?
I noted that the RTC DS1307 lib can return a Time TYPE. It would be nice an example of this too.
Thank you again.