Hi!
I'm having some issues when printing to an SD card. It seems that if I am trying to print large amounts of data (obviously not a good idea, but required here) the Arduino either restarts or simply won't run.
I was using a lot of println statements to print to the files. I switched most of them to print statements and that seemed to fix the issue, only for a little while.
Is there a healthy method of adding large amounts of data to a file? I've tried using some delay statements to catch things up a bit, but that didn't seem to work.
Thanks!
SDFAT.h lib causes restarts
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: SDFAT.h lib causes restarts
It is possible that you are running out of memory. That can cause erratic behavior, including restarts. Have a look at this thread: http://forums.adafruit.com/viewtopic.php?f=8&t=20309
Please be positive and constructive with your questions and comments.