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 4 matches
CCS Forum Index
Author Message
  Topic: Two's complement....an easy way?
euanw

Replies: 10
Views: 47487

PostForum: General CCS C Discussion   Posted: Thu Jan 12, 2006 3:39 am   Subject: Two's complement....an easy way?
Thanks Dan,

I've actually got completed working code with LED's etc. What I am going to do now, is experiment with all the advice given here and expand my knowledge of best practise programming, an ...
  Topic: Two's complement....an easy way?
euanw

Replies: 10
Views: 47487

PostForum: General CCS C Discussion   Posted: Wed Jan 11, 2006 7:38 am   Subject: Two's complement....an easy way?
Things are becoming much clearer. Thank you all for your input.
I'll head home tonight and put it into practise and see if I can simplify my code.

I'll report back if I get into difficulties :gr ...
  Topic: Two's complement....an easy way?
euanw

Replies: 10
Views: 47487

PostForum: General CCS C Discussion   Posted: Tue Jan 10, 2006 4:21 pm   Subject: Two's complement....an easy way?
I think I can see where you're coming from but not sure it will do what is required. Does:


signed int16 temperature;


convert a two's complement number to decimal?

For some background: the ...
  Topic: Two's complement....an easy way?
euanw

Replies: 10
Views: 47487

PostForum: General CCS C Discussion   Posted: Tue Jan 10, 2006 2:21 pm   Subject: Two's complement....an easy way?
Hi all,

Being very new to both C programming and PICs, I have been muddling through a simple program to drive a 7-segment LED and DS1820 temperature IC from a 16f84a.

Searching the Internet and ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group