Other Parts Discussed in Thread: CSD
I am working on a project that involves using an SD card, but am having trouble getting code to compile correctly. I am using code from the spraa07 and related documentation, which I found here. I've finally gotten it down to just a few errors, namely this line:
Uint16 READ_OCR, SECTOR_ZERO, SEND_CID, SEND_CSD;
"../SD_Test.c", line 5: error: expected an identifier
"../SD_Test.c", line 5: error: expected an identifier
"../SD_Test.c", line 5: error: expected an identifier
"../SD_Test.c", line 5: error: expected an identifier
The weird thing is that the line right above it is:
Uint16 read_buffer[1024], write_buffer[1024];
which does not give an error. Any suggestions?