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: LM35 temp sensor reading (10°C off)
caduhitec

Replies: 18
Views: 38574

PostForum: General CCS C Discussion   Posted: Thu Jun 28, 2007 7:08 pm   Subject: LM35 temp sensor reading (10°C off)
use this

{
delay_ms (500);
value = read_adc ();
value1 = (value*49+1)/100;
printf ("Temp:%5.1fC\n\r", (float)value1);
}
  Topic: Help with 24c256
caduhitec

Replies: 3
Views: 4452

PostForum: General CCS C Discussion   Posted: Sun Jun 03, 2007 11:44 am   Subject: Help with 24c256
hi dear,
I gesst this way it´s work, let me know.

BOOLEAN I2C_ready(BYTE device) // Possible to device is 0 to 7
{
int1 ack;
i2c_start(); // If the write command is acknowledg ...
  Topic: rs232 charachter receive problem
caduhitec

Replies: 10
Views: 7840

PostForum: General CCS C Discussion   Posted: Sun Jun 03, 2007 11:33 am   Subject: rs232 charachter receive problem
hi dear,
remember that pic has only two caracters buffer, if you send more then two chars and the the pic not retrieve the chars from the buffer then comunication between PC and pic will stop. It´s ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group