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?
In order to work with the RTC module you have to use one of the MDuino products. Make sure to be using our "industrialshields" boards as the RTC.h is modified for being able to work with our devices. You can read all the information about the RTC on this blog.
Take in account that it is only nedeed to set up the clock the first time as the RTC will internally save the configuratio, If you need more information feel free to contact us!
About This Community
|Asked: 3/25/21, 12:05 PM|
|Seen: 191 times|
|Last updated: 3/28/21, 5:42 AM|