Good day,
I'm having a problem opening a SD card. I think I'm doing it wrong.
Is it the datatype? First part works fine.
I have a snippet of the code I have been using below for testing.
Thanks
Randy
String test = "";
if (file == 0)
{
strcpy_P(prog_buffer, (char*)pgm_read_word(&(string_table[4])));
upcFile = SD.open(prog_buffer, FILE_WRITE);
}
else
{
test = getSeq(SEQ) + ".txt";
Serial.println(test);
upcFile = SD.open(test, FILE_WRITE); // Error here. Because "test" is a string?
}