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

reading bin file from MMC card using pic16f876

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



Joined: 05 Dec 2004
Posts: 31

View user's profile Send private message

reading bin file from MMC card using pic16f876
PostPosted: Sat May 22, 2010 6:26 am     Reply with quote

Hi everybody, I have a bitmap stored in bin file and saved in mmc to be read by pic16f876 and display in graphic lcd. Can someone give me suggestions or any other links how can I decode this bin file ??? Thanks !!!
MikeP



Joined: 07 Sep 2003
Posts: 49

View user's profile Send private message

PostPosted: Sat May 22, 2010 3:14 pm     Reply with quote

How did you make this bin file?

If I were you I would make a PC program to decode and write out the file as 8bit values ready to be sent to glcd_ functions. I wrote a perl program to do something like this it could be changed to write out a file on the PC that could be read by the MMC/FAT driver function fatgetc().

http://www.ccsinfo.com/forum/viewtopic.php?t=40834&start=15

The problem with my perl code is it assumes a lot about the format of the bitmap 256x128 1 BitsPerPixel.

Will post if you think it will be helpful.

Do you have the CCS MMC/FAT code working?
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