Topic: SD.begin twice
(Read 616 times)
Dec 12, 2013, 08:39 am
I am using some 3rd party lib that already uses SD.begin(4) (there is a shield).
My scenario is this:
I have my setup() in which I initialise this 3rd party lib (that does already the begin).
However, I am unable to write/open/use the SD lib in my main program.
when I do SD.begin(4) again I get failed.
when I am just trying SD.exists I believe the board is crashing... ( I have no way of knowing what happened, only that it didnt continue).
when I am disabling the 3rd party lib, my SD.begin(4) works.
The wierd thing is that that 3rd party is able to write the files to the SD Card... so it does work.
What can I do? what is the best way to cop with that?