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 support@ccsinfo.com

counting files on FAT

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



Joined: 24 Feb 2009
Posts: 15
Location: Addis

View user's profile Send private message

counting files on FAT
PostPosted: Wed Mar 11, 2009 11:12 am     Reply with quote

hey guys,

I am working on my hobby project. It involves implementation
of FAT32 on an SD card. driving the card is ok, but I couldn't
get handy with FAT and associated extensive calculations

All I need is to count the number of files on the root directory
and display them out on the LCD. Driving the LCD is also ok
The display can show 12 files at once and then scroll down.

I just want a sample code to read the file name to a pointer or so.

Please show me some code to do that

btw I use PIC18F458, SD/MMC 128MB- 2GB and PCWHD-4.057 IDE
nice time!
_________________
chips are forever
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