I've taken a look at the ex_fat.c file to see if I'd be able to create a file into my SD Card using PIC18f4550. Here is my main code below:
Code:
void main()
{
char opt_buffer[255];
int i; // pointer to the buffer
// initialize the FAT
// keep in mind that this will automagically initialize the media
i = fat_init();
if (i)
printf("\r\n\nERROR INITIALIZING FAT\r\n\n");
I don't see why it's not showing the text.txt file on my SD Card. It's a 2GB microSD using SD Adaptor and it has been formatted to FAT32 with 4096 cluster sizes. I'd very much appreciate some input. Thank you.
p.s. the heading is exactly the same as the ex_fat.c file. I just changed the void main() to see if I could create a file in the SD Card.
curiousaboutcircuits85
Joined: 08 Apr 2010 Posts: 13
Posted: Tue Apr 13, 2010 8:27 pm
Does anybody have an idea? I've modified to work this way:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum