Closed GoogleCodeExporter closed 9 years ago
After further tinkering, this appears to have been an out-of-memory problem.
Getting rid of the FAT filesystem parts of the SD library and using Sd2Out
directly works fine.
Original comment by micr....@gmail.com
on 20 Feb 2012 at 7:24
Could you tell me how you did that. I know where the SD library is, I just
wanna know what lines you removed. Or maybe supply your working copy of SD
library.
Original comment by agnivoh...@gmail.com
on 11 Mar 2012 at 10:35
Sure. I copied the following into my sketch directory...
Sd2Card.cpp Sd2PinMap.h Sd2Card.h SdInfo.h
...then included the following in my sketch...
#include "Sd2PinMap.h"
#include "SdInfo.h"
#include "Sd2Card.h"
Then you should be able to declare an SDCard object and use it:
Sd2Card c;
pinMode(10, OUTPUT); // CS pin
c.init(SPI_HALF_SPEED, CS_pin);
...
No need to remove any lines if I recall correctly.
Original comment by micr....@gmail.com
on 12 Mar 2012 at 12:28
you don't really to do these.I had exactly the same problem and I lowered the
resolution in void setup()
From: TV.begin(PAL,120,96);
TO : TV.begin(PAL,100,64);
And works like a charm without touching the sd library
The arduino (atmega328 ) has only 2k of sram and lowering the resolution makes
it to consume less RAM.
Original comment by Mctavish...@gmail.com
on 7 May 2012 at 6:57
This library will not work alongside everything very nicely. The way it works
requires to strict of timings and uses a lot of memory at "higher" resolutions
Original comment by mdmetzle@gmail.com
on 25 Jun 2012 at 1:33
Original issue reported on code.google.com by
micr....@gmail.com
on 31 Dec 2011 at 7:12