SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By LizardOnTheRoad
#196069
Hi everyone,

I have a small problem on my Arduino MKR ZERO. Basically, I use it to record some data on my SD card. Once the code is uploaded, the RTC is initialized. This data is really important because it is converted to a timestamp that becomes really useful to organise my data after. Everything works perfectly, until I want to put my SD Card back. At that moment, the Arduino initialises itself once again, and with it, the RTC. I cannot really believe that it's a normal way for this type of Arduino to work, so I would like to hope that there is a way to solve that problem. Did this happen to any of you? I would be really glad to hear any suggestion about that problem. Cheers!
By Valen
#196138
Everything works perfectly, until I want to put my SD Card back.
Does that mean inserting the sdcard or taking it out? And if the first, where was it before?

Either way, your code looks like there is nothing wrong with it. {Sarcasm}