Closed maxholgasson closed 5 years ago
See https://github.com/JChristensen/DS3232RTC#ds3232rtcbool-initi2c Try instantiating your own DS3232RTC object and name it something other than "RTC".
Thanks!
Do I need to init it with myRTC.begin();
after every wake up?
I put the mcu to sleep. The RTC is still supplied with power. After waking up do I need to execute myRTC.begin();
again or only once in the setup() and any sleep and wake up doesnt influece it?
begin()
just initializes the I2C bus so once should do it. I have projects with AVR MCUs that sleep and only one call to begin()
is needed. I haven't used the SAMD21; I suppose it might be different in that regard, but I'd be a bit surprised if it were.
Hi,
is there a way to use your lib with a Ardunio Zero?
I'm getting a lot of error e.g