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

Writing in data EEPROM memory in PIC18f4680

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



Joined: 02 Feb 2011
Posts: 4

View user's profile Send private message

Writing in data EEPROM memory in PIC18f4680
PostPosted: Thu Feb 17, 2011 11:33 am     Reply with quote

Hi everybody!!
I want to write a byte in a position of data EEPROM with #rom int8 0xf003D0 = {0xF1;} but the problem appears to me is "Expecting a declaration".
When I write 8 bytes
#rom int8 0xf003C8={0x02,0x48,0x01,0xAA,0xAA,0xAA,0xAA,0xAA}
I have not any problems.

Then How do I write one or two bytes with #rom?

Thanks!!
Ttelmah



Joined: 11 Mar 2010
Posts: 19327

View user's profile Send private message

PostPosted: Thu Feb 17, 2011 12:16 pm     Reply with quote

Get rid on the semi-colon.....

Best Wishes
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