CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Directory files read

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jon_eng



Joined: 12 Feb 2008
Posts: 4

View user's profile Send private message

Directory files read
PostPosted: Tue Feb 12, 2008 9:36 am     Reply with quote

if i have mmc formatted with fat16 and i make a directory that contains some files

how can i read that files in that directory?
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Feb 12, 2008 12:23 pm     Reply with quote

See ex_fat.c in the examples directory of your CCS compiler.
jon_eng



Joined: 12 Feb 2008
Posts: 4

View user's profile Send private message

PostPosted: Wed Feb 13, 2008 1:25 am     Reply with quote

I didnt find ex_fat.c example
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Wed Feb 13, 2008 1:43 am     Reply with quote

Then you must have an older version of the compiler. The file is present in my v4.057 version but missing from v3.249.

For reading the files on the MMC:
- What have you tried so far?
- Have you decided on which PIC to use? I recommend a PIC18.
- Do you have this card connected to your PIC?

Search this forum for the keywords FAT16 and MMC to find other libraries.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group