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 5 matches
CCS Forum Index
Author Message
  Topic: How to get label address at compile time
ThadSmith

Replies: 9
Views: 17600

PostForum: General CCS C Discussion   Posted: Thu Oct 07, 2004 7:48 pm   Subject: How to get label address at compile time
Thanks, Mark. That's exactly what I was trying to do. The follow-up is appreciated! It's pretty hard to find in the manual, especially with no description.

Thad
  Topic: Compressing timestamp to store in EEPROM
ThadSmith

Replies: 10
Views: 20362

PostForum: General CCS C Discussion   Posted: Fri May 28, 2004 3:27 pm   Subject: Compressing timestamp to store in EEPROM

Thad,

That is great, it's a good way to pack the data! One concern is always the processing time!


I assumed from the original post that storage space was more important that processing. The ...
  Topic: Compressing timestamp to store in EEPROM
ThadSmith

Replies: 10
Views: 20362

PostForum: General CCS C Discussion   Posted: Thu May 27, 2004 10:10 am   Subject: Re: Compressing timestamp to store in EEPROM
Hi folks,

I need to store events information in a EEPROM and the timestamp is part of the data of these events. This timestamp is day (1-31), month (1-12), year (00-99) that is 2000 to 2099, hour ( ...
  Topic: Custom Math function
ThadSmith

Replies: 6
Views: 15685

PostForum: General CCS C Discussion   Posted: Fri Apr 23, 2004 11:12 am   Subject: Custom Math function
0x10000000 / (800 - 200) = 447392 // My fractional M value

447392 / 2^16 = 6.82666015625


When the analog input is 800

((800 - 200)*447392 ) / 2^16 = 4095.99609375

This is how I ...
  Topic: Custom Math function
ThadSmith

Replies: 6
Views: 15685

PostForum: General CCS C Discussion   Posted: Thu Apr 22, 2004 4:41 pm   Subject: Custom Math function
I'm measuring the input from an analog source. For example I have a measurment that ranges from a low of 200 to a high of 800. To scale this reading from 0 to 4095 I use the formula shown. This method ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group