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 3 matches
CCS Forum Index
Author Message
  Topic: How to convert float to long?
tomasch

Replies: 5
Views: 11541

PostForum: General CCS C Discussion   Posted: Wed May 19, 2004 9:26 pm   Subject: How to convert float to long?
I have a 7 segment LED display routine that requires a long (16bits) data type.

I have to do some fancy calculations that require float. I know how to cast up to float but how do you "cast down"
...
  Topic: help! Keep the state of a port pin constant when I/O ing
tomasch

Replies: 5
Views: 11730

PostForum: General CCS C Discussion   Posted: Fri May 14, 2004 1:36 pm   Subject: help! Keep the state of a port pin constant when I/O ing
Like I said - I don't want to use any RAM (variable) Thanks anyway
  Topic: help! Keep the state of a port pin constant when I/O ing
tomasch

Replies: 5
Views: 11730

PostForum: General CCS C Discussion   Posted: Fri May 14, 2004 6:52 am   Subject: help! Keep the state of a port pin constant when I/O ing
Embarassed
Excuse my silly question but - no sleep - and I can't figure it out.

I am trying to use Port A for input AND output. I'd like to set a pin (let's say pin_a7) to a value of my choosing - i. ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group