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

reading table,...pls help?

 
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

reading table,...pls help?
PostPosted: Mon Mar 09, 2009 8:58 am     Reply with quote

I was trying to read a large table which I named as const int8 Image[]={...,...,....}; but it doesn't work. It works fine for small tables

can anybody help me on this


Thanks
_________________
chips are forever
Heath



Joined: 21 Dec 2007
Posts: 41

View user's profile Send private message

PostPosted: Mon Mar 09, 2009 9:29 am     Reply with quote

Please give a small example of you reading this table. We can't help if we can't see how you're doing it.

For a quicker resolution, I suggest that you post a small, but full program for us to test. Only put in the essentials. (i.e. clock, pic, headers, main, etc)
Ttelmah
Guest







PostPosted: Mon Mar 09, 2009 9:30 am     Reply with quote

I'd guess a quick search here might help, if this is a PIC16 chip.

Best Wishes
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Mar 09, 2009 12:27 pm     Reply with quote

Example of const array in ROM:
http://www.ccsinfo.com/forum/viewtopic.php?t=29898
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