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

Search found 7 matches
CCS Forum Index
Author Message
  Topic: Using #rom for internal EEPROM
forgie

Replies: 2
Views: 5806

PostForum: General CCS C Discussion   Posted: Tue Nov 29, 2005 12:15 am   Subject: Using #rom for internal EEPROM
Great, thanks heaps for the pointer.
  Topic: Using #rom for internal EEPROM
forgie

Replies: 2
Views: 5806

PostForum: General CCS C Discussion   Posted: Mon Nov 28, 2005 11:41 pm   Subject: Using #rom for internal EEPROM
Well I know that I should be able to find an answer somewhere, but I've been searching the 18f452 datasheet and haven't been able to find it.

I need to set the first 8 bytes of EEPROM to 0 in my he ...
  Topic: Comparing Structs
forgie

Replies: 7
Views: 9887

PostForum: General CCS C Discussion   Posted: Sat Nov 05, 2005 10:10 pm   Subject: Comparing Structs
Ok, that's good to know. I'll try padding the struct and comparing them.... although this is all becoming a bit unwieldy for the purposes that I had envisaged the struct being useful for in the first ...
  Topic: Comparing Structs
forgie

Replies: 7
Views: 9887

PostForum: General CCS C Discussion   Posted: Sat Nov 05, 2005 8:39 pm   Subject: Comparing Structs
Thanks PCM Programmer. I guess I didn't think about the 'padding bits.' If, however, I make my struct so that it takes up exactly 4 bytes (it's currently 3 bytes and 2 bits, so it should be pretty eas ...
  Topic: Comparing Structs
forgie

Replies: 7
Views: 9887

PostForum: General CCS C Discussion   Posted: Sat Nov 05, 2005 12:01 pm   Subject: Comparing Structs
Yeah, I was thinking more along the lines of comparing the block of memory. I just don't know how to, that's all.

I would've thought you could just write:

if((int32) State != (int32) Old_State) ...
  Topic: Comparing Structs
forgie

Replies: 7
Views: 9887

PostForum: General CCS C Discussion   Posted: Sat Nov 05, 2005 9:59 am   Subject: Comparing Structs
Hi there.
There's most likely a simple solution to my problem, and I'm hoping someone can enlighten me to it. I have two structs of the same type, and I want to compare them. I have one called State, ...
  Topic: Can you use printf to display binary digits?
forgie

Replies: 3
Views: 9638

PostForum: General CCS C Discussion   Posted: Fri Nov 04, 2005 1:04 am   Subject: Can you use printf to display binary digits?
Um that thread is basically talking about doing what I've already done, which is make a function which displays a byte in binary form. What I want to know is can I amend the printf function somehow to ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group