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 2 matches
CCS Forum Index
Author Message
  Topic: How to take only 3 digits after float for calculation?
Morcilla

Replies: 7
Views: 9424

PostForum: General CCS C Discussion   Posted: Thu May 22, 2008 7:58 am   Subject: Recomend
i recomend to use:


sprintf(var,"%2.1f",pctrl->temp_set);
my_prints(1,1,var);



where my_prints function is


void my_prints(unsigned char x ,unsigned c ...
  Topic: malloc on 16F76
Morcilla

Replies: 3
Views: 6598

PostForum: General CCS C Discussion   Posted: Tue Apr 08, 2008 9:57 am   Subject: Re: malloc on 16F76
I have a problem with malloc. My program is for the 16F76 and compiled with PCW 3.242 and then downloaded to the target with ICD-U40 (under control of the ICD Control Program V2.48) I also run and sto ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group